const layout = (layout) => require(['./views/layout/test.vue'], layout)
const index = (index) => require(['./views/index/index.vue'], index)
const login = (login) => require(['./views/login/index.vue'], login)
const setting = (setting) => require(['./views/me/index.vue'], setting)
const change_pwd = (change_pwd) => require(['./views/me/change_pwd.vue'], change_pwd)


//供应商管理
const com_manage = (com_manage) => require(['./views/parter/com_manage.vue'], com_manage)
const com_edit = (com_edit) => require(['./views/parter/edit.vue'], com_edit)
const com_edit2 = (com_edit2) => require(['./views/parter/edit2.vue'], com_edit2)
const com_proClass = (com_proClass) => require(['./views/parter/com_proClass.vue'], com_proClass)
const com_proedit = (com_proedit) => require(['./views/parter/com_proedit.vue'], com_proedit)


//产品管理
const pro = (pro) => require(['./views/pro/index.vue'], pro)
const cate_manage = (cate_manage) => require(['./views/pro/cate_manage.vue'], cate_manage)
const pro_detail = (pro_detail) => require(['./views/pro/detail.vue'], pro_detail)
const pro_create = (pro_create) => require(['./views/pro/create_new.vue'], pro_create)
const pro_update = (pro_update) => require(['./views/pro/update_new.vue'], pro_update)
const pro_faq = (pro_faq) => require(['./views/pro/faq.vue'], pro_faq)
const pro_show = (pro_show) => require(['./views/pro/show.vue'], pro_show)
const pro_scaling = (pro_scaling) => require(['./views/pro/pro_scaling.vue'], pro_scaling)
const pro_scalinglist = (pro_scalinglist) => require(['./views/pro/pro_scalinglist.vue'], pro_scalinglist)



//保险条款与保险责任
const pro_addclause = (pro_addclause) => require(['./views/pro/add_clause.vue'], pro_addclause)
const pro_clause = (pro_clause) => require(['./views/pro/add_clause.vue'], pro_clause)
const clause_list = (clause_list) => require(['./views/pro/clause_list.vue'], clause_list)
const pro_addduty = (pro_addduty) => require(['./views/pro/add_duty.vue'], pro_addduty)
const pro_duty = (pro_duty) => require(['./views/pro/add_duty1.vue'], pro_duty)
const duty_list = (duty_list) => require(['./views/pro/duty_list.vue'], duty_list)

//产品费用政策
const fee_manage = (fee_manage) => require(['./views/pro/fee_manage.vue'], fee_manage)
const fee_create = (fee_create) => require(['./views/pro/fee_create.vue'], fee_create)
const fee_update = (fee_update) => require(['./views/pro/fee_update.vue'], fee_update)
//产品代理协议

const agency_list = (agency_list) => require(['./views/pro/agency_list.vue'], agency_list)
const agency_create = (agency_create) => require(['./views/pro/agency_create.vue'], agency_create)
const agency_update = (agency_update) => require(['./views/pro/agency_update.vue'], agency_update)

// 团队管理
const group = (group) => require(['./views/team/index.vue'], group)
const relationship = (relationship) => require(['./views/team/relationship.vue'], relationship)
const group_detail = (group_detail) => require(['./views/team/group_detail.vue'], group_detail)
const team_payroll = (team_payroll) => require(['./views/team/payroll.vue'], team_payroll)

//个人业绩
const performance = (performance) => require(['./views/achie/performance.vue'], performance)
const personal_salary = (personal_salary) => require(['./views/achie/salary.vue'], personal_salary)

//提现记录
const withdraw_list = (withdraw_list) => require(['./views/withdraw/index.vue'], withdraw_list)


// 员工管理
// const employee_list = (employee_list) => require(['./views/employee/index.vue'], employee_list)
//const employee_edit = (employee_edit) => require(['./views/employee/edit.vue'], employee_edit)
const employee_list = (employee_list) => require(['./views/employee/office.vue'], employee_list)
const employee_all_list = (employee_all_list) => require(['./views/employee/field_list.vue'], employee_all_list)
const employee_create = (employee_create) => require(['./views/employee/create.vue'], employee_create)
const employee_update = (employee_update) => require(['./views/employee/update.vue'], employee_update)
const employee_single = (employee_single) => require(['./views/employee/employee_single.vue'], employee_single)
// employee_marketing 为营销员工列表页面 暂时先不做 页面开发日期:2018/3/27 WL开发  安排后期统一去做
const employee_marketing = (employee_marketing) => require(['./views/employee/employee_marketing.vue'], employee_marketing)

const employee_insured = (employee_insured) => require(['./views/employee/insured.vue'], employee_insured)

const employee_map = (employee_map) => require(['./views/employee/employee_map.vue'], employee_map)
const employee_framework = (employee_framework) => require(['./views/employee/framework.vue'], employee_framework)
const employee_blood = (employee_blood) => require(['./views/employee/bloodMap.vue'], employee_blood)



//角色管理
const role_list = (role_list) => require(['./views/role/index.vue'], role_list)

//职级管理
const rank_list = (rank_list) => require(['./views/rank/index.vue'], rank_list)


//部门管理
const dept_list = (dept_list) => require(['./views/dept/index.vue'], dept_list)

// 客户管理
const customer_list = (customer_list) => require(['./views/customer/index.vue'], customer_list)
const customer_test = (customer_test) => require(['./views/customer/test.vue'], customer_test)
const customer_create = (customer_create) => require(['./views/customer/create.vue'], customer_create)
const customer_update = (customer_update) => require(['./views/customer/update.vue'], customer_update)
// 保单管理
//const policy_list = (policy_list) => require(['./views/policy/index.vue'], policy_list)
const policy_edit = (policy_edit) => require(['./views/policy/edit.vue'], policy_edit)
// potravel 旅游险列表  tradetail  旅游险详情 
const potravel = (potravel) => require(['./views/policy/potravel.vue'], potravel)
const tradetail = (tradetail) => require(['./views/policy/tradetail.vue'], tradetail)


//保单录入（管理账号）
// const policyb_list = (policyb_list) => require(['./views/policyb/index.vue'], policyb_list)
// const policyb_create = (policyb_create) => require(['./views/policyb/create.vue'], policyb_create)
// const policyb_edit = (policyb_edit) => require(['./views/policyb/edit.vue'], policyb_edit)
// const policyb_relist = (policyb_relist) => require(['./views/policyb/list.vue'], policyb_relist)
// const policyb_detail = (policyb_detail) => require(['./views/policyb/detail.vue'], policyb_detail)

//2.0
//投保单列表
// const policy_list = (policy_list) => require(['./views/policy/index.vue'], policy_list)
//投保单录入
// const insure_policy_create = (insure_policy_create) => require(['./views/policy/create.vue'], insure_policy_create)
// //投保单详情
// const insure_policy_detail = (insure_policy_detail) => require(['./views/policy/detail.vue'], insure_policy_detail)
// //投保单编辑
// const insure_policy_update = (insure_policy_update) => require(['./views/policy/update.vue'], insure_policy_update)
//承保单列表
const underwrite_policy = (underwrite_policy) => require(['./views/policy/index.vue'], underwrite_policy)
//承保单录入
const underwrite_policy_create = (underwrite_policy_create) => require(['./views/policy/create.vue'], underwrite_policy_create)
//承保单编辑
const underwrite_policy_update = (underwrite_policy_update) => require(['./views/policy/update.vue'], underwrite_policy_update)
//新版保单录入
const policy_create = (policy_create) => require(['./views/policy/create_v.vue'], policy_create)
//新版保单录入编辑
const policy_update = (policy_update) => require(['./views/policy/update_v.vue'], policy_update)

//续期管理
const renewal_list = (renewal_list) => require(['./views/policy/re_list.vue'], renewal_list)

//保单业绩
const policyrank = (policyrank) => require(['./views/policy/policyrank.vue'], policyrank)
//业绩跳转详情
const prolicydtl = (prolicydtl) => require(['./views/policy/prolicydtl.vue'], prolicydtl)

//计划书管理
const plan_list = (plan_list) => require(['./views/plan/index.vue'], plan_list)
const plan_edit = (plan_edit) => require(['./views/plan/edit.vue'], plan_edit)


//车险信息查询

//根据车牌投保
const car_offer = (car_offer) => require(['./views/car/offer.vue'], car_offer)

//车辆信息
const car_info = (car_info) => require(['./views/car/car_info.vue'], car_info)

//车辆投保信息
const offer_detail = (offer_detail) => require(['./views/car/offer_detail.vue'], offer_detail)

//配送信息
const send_info = (send_info) => require(['./views/car/send_info.vue'], send_info)

//投保确认
const car_confirm = (car_confirm) => require(['./views/car/confirm.vue'], car_confirm)

//投保结果  投保结果 
const car_finish = (car_finish) => require(['./views/car/finish.vue'], car_finish)

//订单详情
const car_order = (car_order) => require(['./views/car/order_detail.vue'], car_order)

//订单列表
const car_order_list = (car_order_list) => require(['./views/car/order_list.vue'], car_order_list)

const car_list = (car_list) => require(['./views/car/list.vue'], car_list)
const replenish_info = (replenish_info) => require(['./views/car/replenish_info.vue'], replenish_info)
const car_quote = (car_quote) => require(['./views/car/quote.vue'], car_quote)
const quote_result = (quote_result) => require(['./views/car/quote_result.vue'], quote_result)



const terrace = (terrace) => require(['./views/car/terrace.vue'], terrace)
const bill_search = (bill_search) => require(['./views/car/bill_search.vue'], bill_search)
const bill_per = (bill_per) => require(['./views/car/bill_per.vue'], bill_per)
const bill_update = (bill_update) => require(['./views/car/bill_update.vue'], bill_update)
const bill_create = (bill_create) => require(['./views/car/bill_create.vue'], bill_create)
const bill_detail = (bill_detail) => require(['./views/car/bill_detail.vue'], bill_detail)
const bill_ceshi = (bill_ceshi) => require(['./views/car/bill_ceshi.vue'], bill_ceshi)
const bill_single = (bill_single) => require(['./views/car/bill_single.vue'], bill_single)
const car_detail = (car_detail) => require(['./views/car/car_detail.vue'], car_detail)
const car_search = (car_search) => require(['./views/car/car_search.vue'], car_search)

//财务管理
const finance_payroll = (finance_payroll) => require(['./views/finance/payroll.vue'], finance_payroll)
const finance_detail = (finance_detail) => require(['./views/finance/detail.vue'], finance_detail)

const payroll_detail = (payroll_detail) => require(['./views/finance/payroll_detail.vue'], payroll_detail)
const poundage = (poundage) => require(['./views/finance/poundage.vue'], poundage)

//结算管理
const salary_list = (salary_list) => require(['./views/settlement/salary_list.vue'], salary_list)
const commission_list = (commission_list) => require(['./views/settlement/commission_list.vue'], commission_list)
const settlement_info = (settlement_info) => require(['./views/settlement/settlement_info.vue'], settlement_info)
const settlement_update = (settlement_update) => require(['./views/settlement/update.vue'], settlement_update)
const settlement_bonus = (settlement_bonus) => require(['./views/settlement/bonus.vue'], settlement_bonus)

//代理协议
const agreement_manage = (agreement_manage) => require(['./views/agreement/manage.vue'], agreement_manage)
const agreement_create = (agreement_create) => require(['./views/agreement/create.vue'], agreement_create)
const agreement_update = (agreement_update) => require(['./views/agreement/update.vue'], agreement_update)


//机构
const org_list = (org_list) => require(['./views/org/index.vue'], org_list)
const org_detail = (org_detail) => require(['./views/org/detail.vue'], org_detail)
const org_role = (org_role) => require(['./views/org/role.vue'], org_role)
const org_member = (org_member) => require(['./views/org/member.vue'], org_member)
const org_doclist = (org_doclist) => require(['./views/org/doclist.vue'], org_doclist)
const org_newdoclist = (org_newdoclist) => require(['./views/org/newdoclist.vue'], org_newdoclist)
const org_doclistdetail = (org_doclistdetail) => require(['./views/org/doclistdetail.vue'], org_doclistdetail)
const org_cate = (org_cate) => require(['./views/org/cate.vue'], org_cate)


//绩效管理
const achievement_index = (achievement_index) => require(['./views/achievement/index.vue'], achievement_index)
const achievement_create = (achievement_create) => require(['./views/achievement/create.vue'], achievement_create)
const achievement_update = (achievement_update) => require(['./views/achievement/update.vue'], achievement_update)


//基本法   basicLaw
const basicLaw_check = (basicLaw_check) => require(['./views/basiclaw/check.vue'], basicLaw_check)

const basicLaw_promote = (basicLaw_promote) => require(['./views/basiclaw/promote.vue'], basicLaw_promote)
const basicLaw_list = (basicLaw_list) => require(['./views/basiclaw/list.vue'], basicLaw_list)
const basicLaw_newlist = (basicLaw_newlist) => require(['./views/basiclaw/newlist.vue'], basicLaw_newlist)
const basicLaw_lists = (basicLaw_lists) => require(['./views/basiclaw/basicLaw_lists.vue'], basicLaw_lists)


const basicLaw_exam = (basicLaw_exam) => require(['./views/basiclaw/exam_project.vue'], basicLaw_exam)



//无处安放的数据更新
const data_update = (dataUpdate) => require(['./views/common/dataUpdate.vue'], dataUpdate)

//开发中
const developing = (developing) => require(['./views/common/index.vue'], developing)

//同步数据
const update_data = (update_data) => require(['./views/common/data.vue'], update_data)

//资料管理
//datum
//const datum_list = (datum_list) => require(['./views/common/index.vue'], datum_list)



//栏目管理
// classroom
const classroom = (classroom) => require(['./views/classroom/index.vue'], classroom)
const class_list_create = (class_list_create) => require(['./views/classroom/create.vue'], class_list_create)
const class_list_update = (class_list_update) => require(['./views/classroom/create.vue'], class_list_update)

// const class_create = (class_create) => require(['./views/classroom/class_create.vue'], class_create)
// const class_update = (class_update) => require(['./views/classroom/class_create.vue'], class_update)
const class_list = (class_list) => require(['./views/classroom/class.vue'], class_list)



//轮播图
const carousel_list = (carousel_list) => require(['./views/carousel/carousel_list.vue'], carousel_list)
const hb_app_index = (hb_app_index) => require(['./views/carousel/hb_app_index.vue'], hb_app_index)
const hb_app_pro = (hb_app_pro) => require(['./views/carousel/hb_app_pro.vue'], hb_app_pro)
const hb_app_pro_detail = (hb_app_pro_detail) => require(['./views/carousel/hb_app_pro_detail.vue'], hb_app_pro_detail)

const new_rec = (new_rec) => require(['./views/carousel/new_rec.vue'], new_rec)
const hot_rec = (hot_rec) => require(['./views/carousel/hot_rec.vue'], hot_rec)
const hot_tools = (hot_tools) => require(['./views/carousel/hot_tools.vue'], hot_tools)//展业工具
const app_message = (app_message) => require(['./views/carousel/message.vue'], app_message)//我的消息
const hot_hospital = (hot_hospital) => require(['./views/carousel/hot_hospital.vue'], hot_hospital)//定点医院hospital
const hot_deductions = (hot_deductions) => require(['./views/carousel/hot_deductions.vue'], hot_deductions)//薪资调整明细
const app_notice = (app_notice) => require(['./views/carousel/notice.vue'], app_notice)//公司公告
//认证码管理
const invitation_list = (invitation_list) => require(['./views/invitation/index.vue'], invitation_list)


//实名认证
const certification_list = (certification_list) => require(['./views/certification/list.vue'], certification_list)
const certification_detail = (certification_detail) => require(['./views/certification/detail.vue'], certification_detail)
const certification_hdetail = (certification_hdetail) => require(['./views/certification/h_detail.vue'], certification_hdetail)
const certification_history = (certification_history) => require(['./views/certification/history.vue'], certification_history)




//理赔
const compensate = (compensate) => require(['./views/compensation/index.vue'], compensate)
const compensate_create = (compensate_create) => require(['./views/compensation/compen_create.vue'], compensate_create)
const compensate_update = (compensate_update) => require(['./views/compensation/compen_update.vue'], compensate_update)

// const compensate_class_create = (compensate_class_create) => require(['./views/compensation/compen_create_class.vue'], compensate_class_create)
// const compensate_class_update = (compensate_class_update) => require(['./views/compensation/compen_update_class.vue'], compensate_class_update)
const compensate_class = (compensate_class) => require(['./views/compensation/compen_class.vue'], compensate_class)

//链接理赔
const link_compen = (link_compen) => require(['./views/compensation/link_compen.vue'], link_compen)
const link_create = (link_create) => require(['./views/compensation/link_create.vue'], link_create)
const link_update = (link_update) => require(['./views/compensation/link_update.vue'], link_update)


const link_team = (link_team) => require(['./views/compensation/link_team.vue'], link_team)


// app首页

// const app_home = (app_home) => require(['./views/appHome/index.vue'], app_home)
// const app_add = (app_add) => require(['./views/appHome/add.vue'], app_add)
// const app_update = (app_update) => require(['./views/appHome/app_update.vue'], app_update)

//错误页面
const error_404 = (error_404) => require(['./views/error-page/404.vue'], error_404)

//权限控制
const permission = (permission) => require(['./views/permission/index.vue'], permission)
const permission_create = (permission_create) => require(['./views/permission/create.vue'], permission_create)
const permission_update = (permission_update) => require(['./views/permission/update.vue'], permission_update)
const permission_org = (permission_org) => require(['./views/permission/org.vue'], permission_org)
const permission_employee = (permission_employee) => require(['./views/permission/employee.vue'], permission_employee)
//const org_setup = (org_setup) => require(['./views/org/setup.vue'], org_setup)


//统计管理
const statistics_parter = (statistics_parter) => require(['./views/statistics/parter.vue'], statistics_parter)
const statistics_org = (statistics_org) => require(['./views/statistics/org.vue'], statistics_org)
const policy_result = (policy_result) => require(['./views/statistics/result.vue'], policy_result)//保单业绩
const statistics_resultdetail = (statistics_resultdetail) => require(['./views/statistics/resultDetail.vue'], statistics_resultdetail)//保单业绩详情

// 保险基本法  2018/5/30  WL
// 考核周期管理
const assset = (assset) => require(['./views/basic/assset.vue'], assset)
// 职级管理
const manage = (manage) => require(['./views/basic/manage.vue'], manage)
// 薪资管理-->职级薪资页面
const salmanage = (salmanage) => require(['./views/basic/salmanage.vue'], salmanage)
// 薪资管理-->规则设置
const rulelist = (rulelist) => require(['./views/basic/rulelist.vue'], rulelist)
const prize = (prize) => require(['./views/basic/prize.vue'], prize)
const prizeupdate = (prizeupdate) => require(['./views/basic/prize.vue'], prizeupdate)
const renewal = (renewal) => require(['./views/basic/renewal.vue'], renewal)
const renewalupdate = (renewalupdate) => require(['./views/basic/renewal.vue'], renewalupdate)
const basic_bred = (basic_bred) => require(['./views/basic/bred.vue'], basic_bred)
const basic_bredupdate = (basic_bredupdate) => require(['./views/basic/bred.vue'], basic_bredupdate)
const growth = (growth) => require(['./views/basic/growth.vue'], growth)
const growthupdate = (growthupdate) => require(['./views/basic/growth.vue'], growthupdate)
const share_money = (share_money) => require(['./views/basic/share_money.vue'], share_money)
const share_moneyupdate = (share_moneyupdate) => require(['./views/basic/share_money.vue'], share_moneyupdate)
const award = (award) => require(['./views/basic/award.vue'], award)
const awardupdate = (awardupdate) => require(['./views/basic/award.vue'], awardupdate)
const increase = (increase) => require(['./views/basic/increase.vue'], increase)
const increaseupdate = (increaseupdate) => require(['./views/basic/increase.vue'], increaseupdate)
const basic_update = (basic_update) => require(['./views/basic/update.vue'], basic_update)

const basic_terrace = (basic_terrace) => require(['./views/basic/terrace.vue'], basic_terrace)
const basic_terraceupdate = (basic_terraceupdate) => require(['./views/basic/terrace.vue'], basic_terraceupdate)

const basic_salary = (basic_salary) => require(['./views/basic/salary.vue'], basic_salary)
const basic_up = (basic_up) => require(['./views/basic/up.vue'], basic_up)
// 职级薪资
const basic_zhiji = (basic_zhiji) => require(['./views/basic/zhiji.vue'], basic_zhiji)

//职级管理
const basic_rank = (basic_rank) => require(['./views/basic/rank.vue'],basic_rank)
//考核--维持设置
const basic_check = (basic_check) => require(['./views/basic/check.vue'],basic_check)
//考核--晋升设置
const basic_promotion = (basic_promotion) => require(['./views/basic/promotion.vue'],basic_promotion)
// 考核指标
const basic_exam_project = (basic_exam_project) => require(['./views/basic/exam_project.vue'], basic_exam_project)

const basiclaw_update = (basiclaw_update) => require(['./views/basic/update.vue'], basiclaw_update)
// basic_salaydetail
const basic_salaydetail = (basic_salaydetail) => require(['./views/basic/salaydetail.vue'], basic_salaydetail)
// 员工福利
const basic_weal = (basic_weal) => require(['./views/basic/weal.vue'], basic_weal)
//测试接口
const test = (test) => require(['./views/insured/test.vue'], test)
//华邦首页
const HB_index = (HB_index) => require(['./views/index/index47.vue'], HB_index)
// 新基本法规则重写
const rulelist2 = (rulelist2) => require(['./views/basic2/rulelist2.vue'], rulelist2)
// 新人底薪
const couple = (couple) => require(['./views/basic2/couple.vue'], couple)
const coupleUpdate = (coupleUpdate) => require(['./views/basic2/couple.vue'], coupleUpdate)
// 伯乐奖
const bole = (bole) => require(['./views/basic2/bole.vue'], bole)
const boleUpdate = (boleUpdate) => require(['./views/basic2/bole.vue'], boleUpdate)
// 人力奖
const human = (human) => require(['./views/basic2/human.vue'], human)
const humanUpdate = (humanUpdate) => require(['./views/basic2/human.vue'], humanUpdate)
// 平台将 platform
const platform = (platform) => require(['./views/basic2/platform.vue'], platform)
const platformUpdate = (platformUpdate) => require(['./views/basic2/platform.vue'], platformUpdate)
// 育成奖 bred2
const bred2 = (bred2) => require(['./views/basic2/bred2.vue'], bred2)
const bredUpdate = (bredUpdate) => require(['./views/basic2/bred2.vue'], bredUpdate)
// 管理奖 management
const management = (management) => require(['./views/basic2/management.vue'], management)
const managementUpdate = (managementUpdate) => require(['./views/basic2/management.vue'], managementUpdate)
// 创业奖
const preneur = (preneur) => require(['./views/basic2/preneur.vue'], preneur)
const preneurUpdate = (preneurUpdate) => require(['./views/basic2/preneur.vue'], preneurUpdate)
// 续期佣金
const renewal2 = (renewal2) => require(['./views/basic2/renewal2.vue'], renewal2)
const renewalUpdate2 = (renewalUpdate2) => require(['./views/basic2/renewal2.vue'], renewalUpdate2)
// phase 首期佣金
const phase = (phase) => require(['./views/basic2/phase.vue'], phase)
const phaseUpdate = (phaseUpdate) => require(['./views/basic2/phase.vue'], phaseUpdate)

//继续率报表
const person_rate = (person_rate) => require(['./views/rate/personrate.vue'], person_rate)
const company_rate = (company_rate) => require(['./views/rate/company_rate.vue'], company_rate)
const team_rate = (team_rate) => require(['./views/rate/team_rate.vue'], team_rate)
const accounts_listing = (accounts_listing) => require(['./views/rate/listing.vue'], accounts_listing)//应收清单
const paid_listing = (paid_listing) => require(['./views/rate/paidlisting.vue'], paid_listing)//实收清单

// 不同首页
const index_hb = (index_hb) => require(['./views/index/index_hb.vue'], index_hb)


export const indexHb = {
    path: '/',
    component: layout,
    redirect: {
        name: 'home'
    },
    children: [{
        path: 'index',
        name: 'home',
        component: index_hb,
        meta: {
            title: '首页',
            keepAlive: false
        },
    }, ]
} 

export const indexDefault = {
    path: '/',
    component: layout,
    redirect: {
        name: 'home'
    },
    children: [{
        path: 'index',
        name: 'home',
        component: index,
        meta: {
            title: '首页',
            keepAlive: false
        },
    },
 ]
} 

//404路由
export const errorPage = {
    path: '/404',
    name: '找不到页面',
    component: error_404,
    meta: {
        title: '404',
        keepAlive: false
    },
}


//基本路由
export const baseRouter = [{
        path: '/login',
        name: 'login',
        component: login,
        meta: {
            title: '首页',
            keepAlive: false
        },
        children: [{
            path: ':id',
            name: 'loginchildren',
            component: login,
            meta: {
                title: '首页',
                keepAlive: false
            },
        }, ]
    },
    // {
    //     path: '/',
    //     component: layout,
    //     redirect: {
    //         name: 'home'
    //     },
    //     children: [{
    //         path: 'index',
    //         name: 'home',
    //         component: index,
    //         meta: {
    //             title: '首页',
    //             keepAlive: false
    //         },
    //     },
    //     {
    //         path: 'index_hb',
    //         name: 'home',
    //         component: index_hb,
    //         meta: {
    //             title: '首页',
    //             keepAlive: false
    //         },
    //     },
    //  ]
    // },
    {
        path: '/me',
        component: layout,
        children: [{
                path: 'index',
                name: 'setting',
                component: setting,
                meta: {
                    keepAlive: true,
                    title: '账户设置',
                    des: '这是账户设置页面'
                },
            },
            {
                path: 'change_pwd',
                name: 'change_pwd',
                component: change_pwd,
                meta: {
                    keepAlive: true,
                    title: '修改密码',
                    des: '这是修改密码页面'
                },
            },
        ]
    },
    {
        path: '/achievement',
        component: layout,
        children: [{
                path: 'index',
                name: 'achievement_index',
                component: achievement_index,
                meta: {
                    keepAlive: false,
                    title: '业绩管理',
                    des: '这是业绩管理页面'
                },
            },
            {
                path: 'create',
                name: 'achievement_create',
                component: achievement_create,
                meta: {
                    keepAlive: false,
                    title: '新增业绩',
                    des: '这是新增业绩页面'
                },
            },
            {
                path: 'update/:id',
                name: 'achievement_update',
                component: achievement_update,
                meta: {
                    keepAlive: false,
                    title: '编辑业绩',
                    des: '这是编辑业绩页面'
                },
            },
        ]
    },
    {
        path: '/finance',
        component: layout,
        children: [{
            path: 'poundage',
            name: 'poundage',
            component: poundage,
            meta: {
                keepAlive: false,
                title: '手续费',
                des: '这是手续费详情'
            },
        }, ]
    },

    // 旅游险保单
    {
        path: '/policy',
        component: layout,
        children: [{
                path: 'potravel',
                name: 'potravel',
                component: potravel,
                meta: {
                    keepAlive: false,
                    title: '旅游险保单',
                    des: '欢迎来到旅游险保单页面'
                },
            },
            {
                path: 'tradetail/:id',
                name: 'tradetail',
                component: tradetail,
                meta: {
                    keepAlive: false,
                    title: '保单详情',
                    des: '这是旅游险保单详情页面'
                },
            },
        ]
    },
    // 新基本法
    {
        path: '/basic',
        component: layout,
        children: [{
                path: 'assset',
                name: 'assset',
                component: assset,
                meta: {
                    keepAlive: false,
                    title: '考核周期设置',
                    des: '欢迎来到考核周期设置页面'
                },
            },
            {
                path: 'manage',
                name: 'manage',
                component: manage,
                meta: {
                    keepAlive: false,
                    title: '职级管理',
                    des: '欢迎来到职级管理页面'
                },
            },
            {
                path: 'salmanage',
                name: 'salmanage',
                component: salmanage,
                meta: {
                    keepAlice: false,
                    title: '薪资管理',
                    des: '这是薪资管理页面'
                }
            },
            {
                path: 'rulelist',
                name: 'rulelist',
                component: rulelist,
                meta: {
                    keepAlice: false,
                    title: '规则列表',
                    des: '欢迎来到规则列表页面'
                }
            },
            // 更改路由
            {
                path: 'prize/:tempalteId',
                name: 'prize',
                component: prize,
                meta: {
                    keepAlice: false,
                    title: '中级平台奖',
                    des: '欢迎来到中级平台奖设置页面'
                }
            },
            // 职级奖修改
            {
                path: 'prize/:tempalteId/:id',
                name: 'prizeupdate',
                component: prizeupdate,
                meta: {
                    keepAlice: false,
                    title: '中级平台奖',
                    des: '欢迎来到中级平台奖设置页面'
                }
            },
            {
                path: 'renewal/:tempalteId',
                name: 'renewal',
                component: renewal,
                meta: {
                    keepAlice: false,
                    title: '责任底薪',
                    des: '欢迎来到责任底薪页面'
                }
            },
            // 责任底薪修改
            {
                path: 'renewal/:tempalteId/:id',
                name: 'renewalupdate',
                component: renewalupdate,
                meta: {
                    keepAlice: false,
                    title: '责任底薪',
                    des: '欢迎来到责任底薪页面'
                }
            },
            {
                path: 'basic_bred/:tempalteId',
                name: 'basic_bred',
                component: basic_bred,
                meta: {
                    keepAlice: false,
                    title: '育成奖',
                    des: '欢迎来到育成奖页面'
                }
            },
            // 育成奖修改
            {
                path: 'basic_bred/:tempalteId/:id',
                name: 'basic_bredupdate',
                component: basic_bredupdate,
                meta: {
                    keepAlice: false,
                    title: '育成奖',
                    des: '欢迎来到育成奖页面'
                }
            },
            {
                path: 'growth/:tempalteId',
                name: 'growth',
                component: growth,
                meta: {
                    keepAlice: false,
                    title: '成长津贴',
                    des: '欢迎来到成长津贴页面'
                }
            },
            // 成长津贴  修改
            {
                path: 'growth/:tempalteId/:id',
                name: 'growthupdate',
                component: growthupdate,
                meta: {
                    keepAlice: false,
                    title: '成长津贴',
                    des: '欢迎来到成长津贴页面'
                }
            },
            {
                path: 'share_money/:tempalteId',
                name: 'share_money',
                component: share_money,
                meta: {
                    keepAlice: false,
                    title: '分红奖',
                    des: '欢迎来到分红奖页面'
                }
            },
            //  分红奖  修改
            {
                path: 'share_money/:tempalteId/:id',
                name: 'share_moneyupdate',
                component: share_moneyupdate,
                meta: {
                    keepAlice: false,
                    title: '分红奖',
                    des: '欢迎来到分红奖页面'
                }
            },
            {
                path: 'award/:tempalteId',
                name: 'award',
                component: award,
                meta: {
                    keepAlice: false,
                    title: '销售奖',
                    des: '欢迎来到销售奖页面'
                }
            },
            // 销售奖修改
            {
                path: 'award/:tempalteId/:id',
                name: 'awardupdate',
                component: awardupdate,
                meta: {
                    keepAlice: false,
                    title: '销售奖',
                    des: '欢迎来到销售奖页面'
                }
            },
            {
                path: 'increase/:tempalteId',
                name: 'increase',
                component: increase,
                meta: {
                    keepAlice: false,
                    title: '增部奖',
                    des: '欢迎来到增部奖页面'
                }
            },
            // 增部  修改
            {
                path: 'increase/:tempalteId/:id',
                name: 'increaseupdate',
                component: increaseupdate,
                meta: {
                    keepAlice: false,
                    title: '增部奖',
                    des: '欢迎来到增部奖页面'
                }
            },
            {
                path: 'basic_update',
                name: 'basic_update',
                component: basic_update,
                meta: {
                    keepAlice: false,
                    title: '数据更新',
                    des: '欢迎来到数据更新页面'
                }
            },
            // 平台奖  
            {
                path: 'basic_terrace/:tempalteId',
                name: 'basic_terrace',
                component: basic_terrace,
                meta: {
                    keepAlice: false,
                    title: '平台奖',
                    des: '欢迎来到平台奖页面'
                }
            },
            // 修改
            {
                path: 'basic_terrace/:tempalteId/:id',
                name: 'basic_terraceupdate',
                component: basic_terraceupdate,
                meta: {
                    keepAlice: false,
                    title: '平台奖',
                    des: '欢迎来到平台奖页面'
                }
            },
            {
                path: 'basic_check',
                name: 'basic_check',
                component: basic_check,
                meta: {
                    keepAlive: false,
                    title: '维持设置',
                    des: '这是维持设置页面'
                },
            },
            {
                path: 'basic_promotion',
                name: 'basic_promotion',
                component: basic_promotion,
                meta: {
                    keepAlive: false,
                    title: '晋升设置',
                    des: '这是晋升设置页面'
                },
            },
            {
                path: 'basic_exam_project',
                name: 'basic_exam_project',
                component: basic_exam_project,
                meta: {
                    title: '考核指标',
                    des: '这是考核指标页面',
                    keepAlive: false,
                }
            },
            {
                path: 'basic_weal',
                name: 'basic_weal',
                component: basic_weal,
                meta: {
                    title: '员工福利',
                    des: '这是员工福利页面',
                    keepAlive: false,
                }
            },
            {
                path: 'basic_rank',
                name: 'basic_rank',
                component: basic_rank,
                meta: {
                    title: '职级管理',
                    des: '这是职级管理页面',
                    keepAlive: false,
                }
            },
            {
                path: 'basic_zhiji',
                name: 'basic_zhiji',
                component: basic_zhiji,
                meta: {
                    title: '职级薪资管理',
                    des: '这是职级薪资管理页面',
                    keepAlive: false,
                }
            },
            {
                    path: 'basic_salary',
                    name: 'basic_salary',
                    component: basic_salary,
                    meta: {
                        title: '薪资计算管理',
                        des: '这是薪资计算管理页面',
                        keepAlive: false,
                    }
            },
           {
                    path: 'basic_up',
                    name: 'basic_up',
                    component: basic_up,
                    meta: {
                        title: '晋升考核管理',
                        des: '这是晋升考核管理页面',
                        keepAlive: false,
                    }
            },
        ]
    },
    {
        path: '/basic2',
        component: layout,
        children: [{
                path: 'rulelist2',
                name: 'rulelist2',
                component: rulelist2,
                meta: {
                    title: '规则列表',
                    des: '欢迎来到规则列表页面',
                    keepAlive: false,
                }
            },
            {
                path: 'couple/:tempalteId',
                name: 'couple',
                component: couple,
                meta: {
                    title: '新人底薪',
                    des: '欢迎来到新人底薪页面',
                    keepAlive: false,
                }
            },
            {
                path: 'couple/:tempalteId/:id',
                name: 'coupleUpdate',
                component: coupleUpdate,
                meta: {
                    title: '修改新人底薪',
                    des: '欢迎来到修改新人底薪页面',
                    keepAlive: false,
                }
            },
            {
                path: 'bole/:tempalteId',
                name: 'bole',
                component: bole,
                meta: {
                    title: '伯乐奖',
                    des: '欢迎来到伯乐奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'bole/:tempalteId/:id',
                name: 'boleUpdate',
                component: boleUpdate,
                meta: {
                    title: '修改伯乐奖',
                    des: '欢迎来到修改伯乐奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'human/:tempalteId',
                name: 'human',
                component: human,
                meta: {
                    title: '人力奖',
                    des: '欢迎来到人力奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'human/:tempalteId/:id',
                name: 'humanUpdate',
                component: humanUpdate,
                meta: {
                    title: '修改人力奖',
                    des: '欢迎来到修改人力奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'platform/:tempalteId',
                name: 'platform',
                component: platform,
                meta: {
                    title: '平台奖',
                    des: '欢迎来到平台奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'platform/:tempalteId/:id',
                name: 'platformUpdate',
                component: platformUpdate,
                meta: {
                    title: '修改平台奖',
                    des: '欢迎来到修改平台奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'bred2/:tempalteId',
                name: 'bred2',
                component: bred2,
                meta: {
                    title: '育成奖',
                    des: '欢迎来到育成奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'bred2/:tempalteId/:id',
                name: 'bredUpdate',
                component: bredUpdate,
                meta: {
                    title: '修改育成奖',
                    des: '欢迎来到修改育成奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'management/:tempalteId',
                name: 'management',
                component: management,
                meta: {
                    title: '管理奖',
                    des: '欢迎来到管理奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'management/:tempalteId/:id',
                name: 'managementUpdate',
                component: managementUpdate,
                meta: {
                    title: '修改管理奖',
                    des: '欢迎来到修改管理奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'preneur/:tempalteId',
                name: 'preneur',
                component: preneur,
                meta: {
                    title: '创业奖',
                    des: '欢迎来到创业奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'preneur/:tempalteId/:id',
                name: 'preneurUpdate',
                component: preneurUpdate,
                meta: {
                    title: '修改创业奖',
                    des: '欢迎来到修改创业奖页面',
                    keepAlive: false,
                }
            },
            {
                path: 'renewal2/:tempalteId',
                name: 'renewal2',
                component: renewal2,
                meta: {
                    title: '续期佣金',
                    des: '欢迎来到续期佣金页面',
                    keepAlive: false,
                }
            },
            {
                path: 'renewal2/:tempalteId/:id',
                name: 'renewalUpdate2',
                component: renewalUpdate2,
                meta: {
                    title: '修改续期佣金',
                    des: '欢迎来到修改续期佣金页面',
                    keepAlive: false,
                }
            },
            {
                path: 'phase/:tempalteId',
                name: 'phase',
                component: phase,
                meta: {
                    title: '首期佣金',
                    des: '欢迎来到首期佣金页面',
                    keepAlive: false,
                }
            },
            {
                path: 'phase/:tempalteId/:id',
                name: 'phaseUpdate',
                component: phaseUpdate,
                meta: {
                    title: '修改首期佣金',
                    des: '欢迎来到修改首期佣金页面',
                    keepAlive: false,
                }
            },
        ]
    },
    {
        path: '/law_exam',
        component: layout,
        children: [{
            path: 'exam_project',
            name: 'basicLaw_exam',
            component: basicLaw_exam,
            meta: {
                title: '考核项目',
                des: '考核项目',
                keepAlive: false,
            }
        }, ]
    },
    {
        path: '/carousel',
        component: layout,
        children: [{
                path: 'new_rec',
                name: 'new_rec',
                component: new_rec,
                meta: {
                    keepAlive: false,
                    title: '新品推荐管理',
                    des: '这是新品推荐管理页面'
                },
            },
            {
                path: 'hot_rec',
                name: 'hot_rec',
                component: hot_rec,
                meta: {
                    keepAlive: false,
                    title: '热门推荐管理',
                    des: '这是热门推荐管理页面'
                },
            },
            {
                path: 'hot_tools',
                name: 'hot_tools',
                component: hot_tools,
                meta: {
                    keepAlive: false,
                    title: '展业工具',
                    des: '这是展业工具页面'
                },
            },
            // {
            //     path: 'app_message',
            //     name: 'app_message',
            //     component: app_message,
            //     meta: {
            //         keepAlive: false,
            //         title: '我的消息',
            //         des: '这是我的消息页面'
            //     },
            // },
            {
                path: 'hot_hospital',
                name: 'hot_hospital',
                component: hot_hospital,
                meta: {
                    keepAlive: false,
                    title: '定点医院',
                    des: '这是定点医院页面'
                },
            },
           
        ]
    },
    {
        path: '/basiclaw',
        component: layout,
        children: [
            {
            path: 'basiclaw_update',
            name: 'basiclaw_update',
            component: basiclaw_update,
            meta: {
                keepAlive: false,
                title: '数据更新',
                des: '欢迎来到数据更新页面'
            },
        },
        {
            path: 'basic_salaydetail/:id/:name/:month',
            name: 'basic_salaydetail',
            component: basic_salaydetail,
            meta: {
                keepAlive: false,
                title: '薪资详情',
                des: '这是薪资详情页面'
            },
        },
     ]
    },
    {
        path: '/insured',
        component: layout,
        children: [
            {
            path: 'test',
            name: 'test',
            component: test,
            meta: {
                keepAlive: false,
                title: '测试数据',
                des: '欢迎来到测试数据接口页面'
            },
        },
     ]
    },
    {
        path: '/policy',
        component: layout,
        children: [
            {
            path: 'create_v',
            name: 'policy_create',
            component: policy_create,
            meta: {
                keepAlive: false,
                title: '保单录入',
                des: '保单录入页面'
                },            
            },
            {
                path: 'update_v/:id',
                name: 'policy_update',
                component: policy_update,
                meta: {
                    keepAlive: false,
                    title: '保单编辑',
                    des: '这是保单编辑页面'
                },
            },
     ]
    },
    {
        path: '/index',
        component: layout,
        children: [
            {
            path: 'HB_index',
            name: 'HB_index',
            component: HB_index,
            meta: {
                keepAlive: false,
                title: '华邦首页',
                des: '欢迎来到华邦首页页面'
            },
        },
     ]
    },
    {
        path: '/statistics',
        component: layout,
        children: [{
                path: 'result',
                name: 'policy_result',
                component: policy_result,
                meta: {
                    keepAlive: false,
                    title: '保单业绩',
                    des: '这是保单业绩展示页面'
                },
            },
            {
                path: 'statistics_resultdetail',
                name: 'statistics_resultdetail',
                component: statistics_resultdetail,
                meta: {
                    keepAlive: false,
                    title: '保单业绩详情',
                    des: '这是保单业绩详情展示页面'
                },
            },
        ]
    },
    {
        path:'/rate',
        component:layout,
        children:[
            {
                name:'person_rate',
                path:'person_rate',
                component:person_rate,
                meta: {
                    keepAlive: false,
                    title: '个人继续率',
                    des: '这是个人继续率展示页面'
                },
            },
            {
                name:'company_rate',
                path:'company_rate',
                component:company_rate,
                meta: {
                    keepAlive: false,
                    title: '公司继续率',
                    des: '这是公司继续率展示页面'
                },
            },
            {
                name:'team_rate',
                path:'team_rate',
                component:team_rate,
                meta: {
                    keepAlive: false,
                    title: '团队继续率',
                    des: '这是团队继续率展示页面'
                },
            },
            {
                name:'accounts_listing',
                path:'accounts_listing',
                component:accounts_listing,
                meta: {
                    keepAlive: false,
                    title: '应收清单',
                    des: '这是应收清单页面'
                },
            },
            {
                name:'paid_listing',
                path:'paid_listing',
                component:paid_listing,
                meta: {
                    keepAlive: false,
                    title: '实收清单',
                    des: '这是实收清单页面'
                },
            },
        ]
    },
    {
        path: '/statistics',
        component: layout,
        children: [{
                path: 'result',
                name: 'policy_result',
                component: policy_result,
                meta: {
                    keepAlive: false,
                    title: '保单业绩',
                    des: '这是保单业绩页面'
                },
            },
        ]
    },
]



//登录路由
export const loginRouter = {
    path: '/login',
    name: 'login',
    component: login,
    meta: {
        title: '首页',
        keepAlive: false
    },
    children: [{
        path: ':id',
        name: 'loginchildren',
        component: login,
        meta: {
            title: '首页',
            keepAlive: false
        },
    }, ]
}


//首页路由
export const index_modul = {
    index: {
        path: '/',
        component: layout,
        redirect: {
            name: 'home'
        },
        children: [{
            path: 'index',
            name: 'home',
            component: index,
            meta: {
                title: '首页',
                keepAlive: false
            },
        }, ]
    }
}

//供应商路由
export const partner = {
    //供应商列表
    partner_list: {
        path: '/com_manage',
        component: layout,
        children: [{
                path: 'index',
                name: 'com_manage',
                component: com_manage,
                meta: {
                    keepAlive: false,
                    title: '供应商一览表',
                    des: 'Insurance Supplier List'
                },
            },
            {
                path: 'edit',
                name: 'com_edit',
                component: com_edit,
                meta: {
                    keepAlive: false,
                    title: '供应商管理',
                    des: '这是供应商管理页面'
                },
            },
            {
                path: 'edit2/:id',
                name: 'com_edit2',
                component: com_edit2,
                meta: {
                    keepAlive: false,
                    title: '供应商管理',
                    des: '这是供应商管理页面'
                },
            },
            {
                path: 'com_proClass',
                name: 'com_proClass',
                component: com_proClass,
                meta: {
                    keepAlive: true,
                    title: '供应商产品分类',
                    des: '这是供应商产品分类页面'
                }
            },
            {
                path: 'com_proedit/:id',
                name: 'com_proedit',
                component: com_proedit,
                meta: {
                    keepAlive: true,
                    title: '供应商产品分类编辑',
                    des: '这是供应商产品分类编辑页面'
                }
            },
        ]
    },
    //产品列表
    pro_list: {
        path: '/pro',
        component: layout,
        children: [{
                path: 'index',
                name: 'pro',
                component: pro,
                meta: {
                    title: '产品列表',
                    des: '这是产品列表页面',
                    keepAlive: false,
                }
            },
            {
                path: 'cate_manage',
                name: 'cate_manage',
                meta: {
                    keepAlive: true,
                    title: '分类管理',
                    des: '这是分类管理页面'
                },
                component: cate_manage,
            },
            {
                // path: 'pro_show/:id',
                path: 'pro_show/:id',
                name: 'pro_show',
                meta: {
                    keepAlive: true,
                    title: '产品信息',
                    des: '这是产品信息展示页面'
                },
                component: pro_show,
            },
            {
                path: "pro_scaling/:id/:if/:name",
                component: pro_scaling,
                name: 'pro_scaling',
                meta: {
                    // keepAlive: true,
                    title: '折标系数',
                    des: '欢迎来到折标系数页面'
                },
            },
            {
                path: "detail/:id/:name",
                component: pro_detail,
                name: 'detail',
                meta: {
                    keepAlive: true,
                    title: '产品编辑',
                    des: '这是产品编辑页面'
                },
            },
            {
                path: "update/:id",
                component: pro_update,
                name: 'pro_update',
                meta: {
                    keepAlive: false,
                    title: '产品编辑',
                    des: '这是产品编辑页面'
                },
            },
            {
                path: "create",
                component: pro_create,
                name: 'pro_create',
                meta: {
                    keepAlive: false,
                    title: '产品添加',
                    des: '这是产品添加页面'
                },
            },
            {
                path: "faq/:id/:name",
                component: pro_faq,
                name: 'pro_faq',
                meta: {
                    keepAlive: false,
                    title: '产品常见问题',
                    des: '这是产品常见问题列表页面'
                },
            },
            {
                path: "fee_create/:id/:name",
                component: fee_create,
                name: 'fee_create',
                meta: {
                    keepAlive: false,
                    title: '新增费用政策',
                    des: '这是新增费用政策页面'
                },
            },
            // {
            //     path: "fee_update/:id",
            //     component: fee_update,
            //     name: 'fee_update',
            //     meta: {
            //         keepAlive: false,
            //         title: '修改费用政策',
            //         des: '这是修改费用政策页面'
            //     },
            // },
            // {
            //     path: "fee",
            //     component: fee_manage,
            //     name: 'fee_manage',
            //     meta: {
            //         keepAlive: false,
            //         title: '费用政策列表',
            //         des: '这是费用政策列表页面'
            //     },
            // },

            // {
            //     path: "create_clause",
            //     component: pro_addclause,
            //     name: 'pro_addclause',
            //     meta: {
            //         keepAlive: false,
            //         title: '条款编辑',
            //         des: '这是条款编辑页面'
            //     },
            // },
            // {
            //     path: "clause_list",
            //     component: clause_list,
            //     name: 'clause_list',
            //     meta: {
            //         keepAlive: true,
            //         title: '条款列表',
            //         des: '这是条款列表页面'
            //     },
            // },
            // {
            //     path: "update_clause/:id",
            //     component: pro_clause,
            //     name: 'pro_clause',
            //     meta: {
            //         keepAlive: false,
            //         title: '条款编辑',
            //         des: '这是条款编辑页面'
            //     },
            // },
            {
                path: "create_duty",
                component: pro_addduty,
                name: 'pro_addduty',
                meta: {
                    keepAlive: false,
                    title: '保险责任编辑',
                    des: '这是保险责任编辑页面'
                },
            },
            {
                path: "duty_list/:id/:name",
                component: duty_list,
                name: 'duty_list',
                meta: {
                    keepAlive: true,
                    title: '保险责任列表页面',
                    des: '这是保险责任列表页面'
                },
            },
            {
                path: "update_duty/:id",
                component: pro_duty,
                name: 'pro_duty',
                meta: {
                    keepAlive: false,
                    title: '保险责任编辑',
                    des: '这是保险责任编辑页面'
                },
            },
            {
                path: "agency_list/:id/:name",
                component: agency_list,
                name: 'agency_list',
                meta: {
                    keepAlive: false,
                    title: '代理协议列表',
                    des: '这是代理协议列表页面'
                },
            },
            {
                path: "agency_create/:id/:name",
                component: agency_create,
                name: 'agency_create',
                meta: {
                    keepAlive: false,
                    title: '代理协议新增',
                    des: '这是代理协议新增页面'
                },
            },
            {
                path: "agency_update/:id/:name/:agency_id",
                component: agency_update,
                name: 'agency_update',
                meta: {
                    keepAlive: false,
                    title: '代理协议修改',
                    des: '这是代理协议修改页面'
                },
            },

        ]
    },
    pro_scalinglist: {
        path: '/pro',
        component: layout,
        children: [{
            path: 'pro_scalinglist',
            name: 'pro_scalinglist',
            component: pro_scalinglist,
            meta: {
                // keepAlive: false,
                title: '折标系数',
                des: '欢迎来到折标系数页面'
            },
        }, ]
    },
    fee_manage: {
        path: '/pro',
        component: layout,
        children: [{
                path: "fee_update/:id",
                component: fee_update,
                name: 'fee_update',
                meta: {
                    keepAlive: false,
                    title: '修改费用政策',
                    des: '这是修改费用政策页面'
                },
            },
            {
                path: "fee",
                component: fee_manage,
                name: 'fee_manage',
                meta: {
                    keepAlive: false,
                    title: '费用政策列表',
                    des: '这是费用政策列表页面'
                },
            },
        ]
    }
}

//机构路由
export const org = {
    org_list: {
        path: '/org',
        component: layout,
        children: [{
                path: 'list',
                name: 'org_list',
                component: org_list,
                meta: {
                    keepAlive: false,
                    title: '机构管理',
                    des: '这是机构管理页面'
                },
            },
            {
                path: 'role',
                name: 'org_role',
                component: org_role,
                meta: {
                    keepAlive: false,
                    title: '机构角色管理',
                    des: '这是机构角色管理页面'
                },
            },
            {
                path: 'edit/:id',
                name: 'org_detail',
                component: org_detail,
                meta: {
                    keepAlive: false,
                    title: '机构详情',
                    des: '这是机构详情页面'
                },
            },
            {
                path: 'member',
                name: 'org_member',
                component: org_member,
                meta: {
                    keepAlive: false,
                    title: '机构成员',
                    des: '这是机构成员页面'
                },
            },
            {
                path: 'doclist',
                name: 'org_doclist',
                component: org_doclist,
                meta: {
                    keepAlive: false,
                    title: '机构管理',
                    des: '欢迎您使用机构管理页面'
                },
            },
            {
                path: 'newdoclist',
                name: 'org_newdoclist',
                component: org_newdoclist,
                meta: {
                    keepAlive: false,
                    title: '机构管理',
                    des: '欢迎您使用新增机构页面'
                }
            },
            {
                path: 'doclistdetail/:mongo_id',
                name: 'org_doclistdetail',
                component: org_doclistdetail,
                meta: {
                    keepAlive: false,
                    title: '机构详情',
                    des: '这是机构详情展示页面'
                },
            },
        ]
    },
    org_cate: {
        path: '/org',
        component: layout,
        children: [{
            path: 'cate',
            name: 'org_cate',
            component: org_cate,
            meta: {
                keepAlive: false,
                title: '机构分类',
                des: '欢迎您使用机构分类页面'
            },
        }, ]
    }
}

//员工路由
export const employee = {
    employee_outdoor_list: {
        path: '/employee',
        component: layout,
        children: [{
                path: 'field',
                name: 'employee_all_list',
                component: employee_all_list,
                meta: {
                    keepAlive: false,
                    title: '营销员列表',
                    des: '这是营销员列表页面'
                },
            },
            {
                path: 'create/:type',
                name: 'employee_create',
                component: employee_create,
                meta: {
                    keepAlive: false,
                    title: '新增员工',
                    des: '这是新增员工页面'
                },
            },
            {
                path: 'update/:type/:id',
                name: 'employee_update',
                component: employee_update,
                meta: {
                    keepAlive: false,
                    title: '员工编辑',
                    des: '这是员工编辑页面'
                },
            },
            {
                path: 'employee_single',
                name: 'employee_single',
                component: employee_single,
                meta: {
                    keepAlive: false,
                    title: '员工编辑',
                    des: '欢迎来到员工编辑页面'
                },
            },
            {
                path: 'bloodmap/:eid',
                name: 'employee_blood',
                component: employee_blood,
                meta: {
                    title: '血缘关系',
                    keepAlice: false,
                    des: '血缘关系页面'
                }
            },
            {
                path: 'teammap/:eid',
                name: 'employee_map',
                component: employee_map,
                meta: {
                    title: '团队架构关系',
                    keepAlice: false,
                    des: '团队架构关系'
                }
            }
        ]
    },
    employee_office_list: {
        path: '/employee',
        component: layout,
        children: [{
                path: 'list',
                name: 'employee_list',
                component: employee_list,
                meta: {
                    keepAlive: false,
                    title: '员工列表',
                    des: '这是员工列表页面'
                },
            },
            {
                path: 'create/:type',
                name: 'employee_create',
                component: employee_create,
                meta: {
                    keepAlive: false,
                    title: '新增员工',
                    des: '这是新增员工页面'
                },
            },
            {
                path: 'dataUpdate',
                name: 'dataUpdate',
                component: data_update,
                meta: {
                    keepAlive: false,
                    title: '员工考核列表',
                    des: '这是员工考核列表页面'
                },
            },
            {
                path: 'update/:type/:id',
                name: 'employee_update',
                component: employee_update,
                meta: {
                    keepAlive: false,
                    title: '员工编辑',
                    des: '这是员工编辑页面'
                },
            }
        ]
    },
    rank_list: {
        path: '/rank',
        component: layout,
        children: [{
            path: 'list',
            name: 'rank_list',
            component: rank_list,
            meta: {
                keepAlive: false,
                title: '职级管理',
                des: '这是职级管理页面'
            },
        }, ]
    },
    dept_list: {
        path: '/dept',
        component: layout,
        children: [{
                path: 'list',
                name: 'dept_list',
                component: dept_list,
                meta: {
                    keepAlive: false,
                    title: '部门管理',
                    des: '这是部门管理页面'
                },
            },
            {
                path: 'map',
                name: 'map',
                component: employee_map,
                meta: {
                    keepAlice: false,
                    title: '组织结构图谱页面',
                    des: '组织结构图谱页面'
                }
            },

        ]
    },
    framework_list: {
        path: '/map',
        component: layout,
        children: [{
            path: 'framework',
            name: 'framework',
            component: employee_framework,
            meta: {
                keepAlice: false,
                title: '组织架构页面',
                des: '组织架构页面'
            }
        }]
    },
    employee_insured: {
            path: '/employee',
            component: layout,
            children: [
                {
                path: 'insured',
                name: 'employee_insured',
                component: employee_insured,
                meta: {
                    keepAlive: false,
                    title: '应参保营销员',
                    des: '应参保营销员页面'
                },
            },
         ]
    },
    
    // map:{
    //     path:'employee_map',
    //     component:layout,
    //     children:[

    //     ]
    // }
}

//保单路由
export const policy = {
    policy_list: {
        path: '/policy',
        component: layout,
        children: [
            // {
            //     path: 'insure_policy',
            //     name: 'insure_policy',
            //     component: policy_list,
            //     meta: {
            //         keepAlive: false,
            //         title: '投保单列表',
            //         des: '这是投保单列表页面'
            //     },
            // },
            // {
            //     path: 'create',
            //     name: 'insure_policy_create',
            //     component: insure_policy_create,
            //     meta: {
            //         keepAlive: false,
            //         title: '投保单录入',
            //         des: '这是投保单录入页面'
            //     },
            // },
            // {
            //     path: 'detail/:id',
            //     name: 'insure_policy_detail',
            //     component: insure_policy_detail,
            //     meta: {
            //         keepAlive: false,
            //         title: '投保单详情',
            //         des: '这是投保单详情页面'
            //     },
            // },
            {
                path: 'policyrank',
                name: 'policyrank',
                component: policyrank,
                meta: {
                    keepAlive: false,
                    title: '保单业绩',
                    des: '这是保单业绩页面'
                },
            },
            {
                path: 'prolicydtl/:eid/:type',
                name: 'prolicydtl',
                component: prolicydtl,
                meta: {
                    keepAlive: false,
                    title: '保单业绩详情',
                    des: '这是保单业绩详情页面'
                },
            },
            {
                path: 'create',
                name: 'underwrite_policy_create',
                component: underwrite_policy_create,
                meta: {
                    keepAlive: false,
                    title: '保单录入',
                    des: '这是保单录入页面'
                },
            },
            {
                path: 'list',
                name: 'underwrite_policy',
                component: underwrite_policy,
                meta: {
                    keepAlive: false,
                    title: '保单列表',
                    des: '这是保单列表页面'
                },
            },
            {
                path: 'update/:id',
                name: 'underwrite_policy_update',
                component: underwrite_policy_update,
                meta: {
                    keepAlive: false,
                    title: '保单编辑',
                    des: '这是保单编辑页面'
                },
            },
            {
                path: 're_list',
                name: 'renewal_list',
                component: renewal_list,
                meta: {
                    keepAlive: false,
                    title: '续期管理',
                    des: '这是续期管理页面'
                }
            }
        ]
    },
    potravel: {
        path: '/policy',
        component: layout,
        children: [{
            path: 'potravel',
            name: 'potravel',
            component: potravel,
            meta: {
                keepAlive: false,
                title: '旅游险保单',
                des: '欢迎来到旅游险保单页面'
            },
        }, ]
    },
}
//结算路由
export const settlement = {
    settlement_salary: {
        path: '/settlement',
        component: layout,
        children: [{
            path: 'salary_list',
            name: 'salary_list',
            component: salary_list,
            meta: {
                keepAlive: false,
                title: '结算工资',
                des: '这是结算工资页面'
            },
        }, ]
    },
    settlement_update: {
        path: '/settlement',
        component: layout,
        children: [{
            path: 'update',
            name: 'settlement_update',
            component: settlement_update,
            meta: {
                keepAlive: false,
                title: '结算更新',
                des: '这是结算更新页面'
            },
        }, ]
    }
}
//栏目路由
export const column = {
    column_list: {
        path: '/classroom',
        component: layout,
        children: [{
                path: 'index',
                name: 'classroom',
                component: classroom,
                meta: {
                    keepAlive: false,
                    title: '课堂管理',
                    des: '这是课堂管理页面'
                },
            },
            {
                path: 'class_list_create',
                component: class_list_create,
                name: 'class_list_create',
                meta: {
                    keepAlive: false,
                    title: '新增课堂',
                    des: '这是新增课堂页面'
                }
            },
            {
                path: 'class_list_update/:id',
                component: class_list_update,
                name: 'class_list_update',
                meta: {
                    keepAlive: false,
                    title: '修改课堂',
                    des: '这是修改课堂页面'
                }
            },
        ]
    },
    column_cate: {
        path: '/classroom',
        component: layout,
        children: [{
                name: 'class_list',
                component: class_list,
                path: 'class_list',
                meta: {
                    title: '栏目分类',
                    des: '这是栏目分类列表',
                    keepAlice: true
                }
            },
            // {
            //     name: 'class_create',
            //     component: class_create,
            //     path: 'class_create',
            //     meta: {
            //         keepAlice: false,
            //         title: '栏目分类新增',
            //         des: '这是栏目分类列表新增',
            //     }
            // },
            // {
            //     name: 'class_update',
            //     component: class_update,
            //     path: 'class_update/:id',
            //     meta: {
            //         title: '栏目分类更改',
            //         des: '这是栏目分类列表更改',
            //         keepAlice: false
            //     }
            // }
        ]
    }
}
//理赔模块
export const compensate_modul = {
    compensate_knowledge: {
        path: '/compensate',
        component: layout,
        children: [{
                name: 'compensate',
                component: compensate,
                path: 'index',
                meta: {
                    title: '理赔管理',
                    des: '理赔管理',
                    keepAlive: false,
                }
            },
            {
                name: 'compensate_create',
                component: compensate_create,
                path: 'compensate_create',
                meta: {
                    title: '理赔增加',
                    des: '理赔增加',
                    keepAlive: false,
                }
            },
            {
                name: 'compensate_update',
                component: compensate_update,
                path: 'compensate_update/:id',
                meta: {
                    title: '理赔修改',
                    des: '理赔修改',
                    keepAlive: false,
                }
            },
        ]
    },
    compensate_cate: {
        path: '/compensate',
        component: layout,
        children: [{
                name: 'compensate_class',
                component: compensate_class,
                path: 'compensate_class',
                meta: {
                    title: '理赔分类',
                    des: '理赔分类',
                    keepAlive: true,
                }
            },

        ]
    },
    compensate_link: {
        path: '/compensate',
        component: layout,
        children: [{
                path: 'link_compen',
                name: 'link_compen',
                component: link_compen,
                meta: {
                    title: '连接理赔',
                    des: '连接理赔',
                    keepAlive: true,
                }
            },
            {
                path: 'link_create',
                name: 'link_create',
                component: link_create,
                meta: {
                    title: '连接理赔新增',
                    des: '连接理赔新增页面',
                    keepAlive: false,
                }
            },
            {
                path: 'link_update/:id',
                name: 'link_update',
                component: link_update,
                meta: {
                    title: '连接理赔修改',
                    des: '连接理赔修改页面',
                    keepAlive: false,
                }
            },
        ]
    },
    compensate_tool: {
        path: '/compensate',
        component: layout,
        children: [{
            path: 'link_team',
            name: 'link_team',
            component: link_team,
            meta: {
                title: '理赔工具',
                des: '理赔工具页面',
                keepAlive: false,
            }
        }]
    }
}
//轮播图管理路由
export const carousel = {
    carousel_list: {
        path: '/carousel',
        component: layout,
        children: [{
                path: 'index',
                name: 'carousel_list',
                component: carousel_list,
                meta: {
                    keepAlive: false,
                    title: 'app首页管理',
                    des: '这是app首页管理页面'
                },
            },
            {
                path: 'hb',
                name: 'hb_app_index',
                component: hb_app_index,
                meta: {
                    keepAlive: false,
                    title: 'app首页管理',
                    des: '这是app首页管理页面'
                },
            },
            {
                path: 'hb_pro',
                name: 'hb_app_pro',
                component: hb_app_pro,
                meta: {
                    keepAlive: false,
                    title: 'app首页管理',
                    des: '这是app首页管理页面'
                },
            },
            {
                path: 'hb_detail/:id',
                name: 'hb_app_pro_detail',
                component: hb_app_pro_detail,
                meta: {
                    keepAlive: false,
                    title: '产品特色管理',
                    des: '这是产品特色管理页面'
                },
            },
            // {
            //     path: 'new_rec',
            //     name: 'new_rec',
            //     component: new_rec,
            //     meta: {
            //         keepAlive: false,
            //         title: '新品推荐管理',
            //         des: '这是新品推荐管理页面'
            //     },
            // },
            // {
            //     path: 'hot_rec',
            //     name: 'hot_rec',
            //     component: new_rec,
            //     meta: {
            //         keepAlive: false,
            //         title: '热门推荐管理',
            //         des: '这是热门推荐管理页面'
            //     },
            // },

        ]
    },
    hot_deductions:{
        path: '/carousel',
        component: layout,
        children: [
            {
                path: 'hot_deductions',
                name: 'hot_deductions',
                component: hot_deductions,
                meta: {
                    keepAlive: false,
                    title: '薪资调整明细',
                    des: '这是薪资调整明细页面'
                },
            },
        ]
    },
    app_notice:{
        component:layout,
        path:'/carousel',
        children:[{
            path: 'app_notice',
            name: 'app_notice',
            component: app_notice,
            meta: {
                keepAlive: false,
                title: '公司公告',
                des: '这是公司公告页面'
            },
        }]

    },
    app_message:{
        component:layout,
        path:'/carousel',
        children:[{
            path: 'app_message',
            name: 'app_message',
            component: app_message,
            meta: {
                keepAlive: false,
                title: '我的消息',
                des: '这是我的消息页面'
            },
        }]

    },
}
//app首页模块路由
// export const app = {
//     app_index:{
//         path:"/app",
//         component:layout,
//         children:[
//             {
//                 path:'index',
//                 name:'app_list',
//                 component:app_home,
//                 meta:{
//                     title: 'App首页',
//                     des: 'App首页管理',
//                     keepAlive: true,
//                 }
//             },
//             {
//                 path:'app_add/:position',
//                 name:'app_add',
//                 component:app_add,
//                 meta:{
//                     title: 'App添加',
//                     des: 'App添加管理',
//                     keepAlive: false,
//                 }
//             },
//             {
//                 path:'app_update/:position/:id',
//                 name:'app_update',
//                 component:app_update,
//                 meta:{
//                     title: 'App修改',
//                     des: 'App修改管理',
//                     keepAlive: false,
//                 }
//             },
//         ]
//     }
// }
//认证码路由
export const invitation = {
    invitation_list: {
        path: '/invitation',
        component: layout,
        children: [{
            path: 'index',
            name: 'invitation_list',
            component: invitation_list,
            meta: {
                keepAlive: false,
                title: '认证码列表',
                des: '这是认证码列表页面'
            },
        }, ]
    }
}
//车险路由
export const car = {
    car_list: {
        path: '/car',
        component: layout,
        children: [{
            path: 'bill_single',
            name: 'bill_single',
            component: bill_single,
            meta: {
                keepAlive: false,
                title: '车险出单平台',
                des: '支持40多家平台一键登陆,点击图标即可进入各出单系统'
            }
        }, ]

    },
    car_insert: {
        path: '/car',
        component: layout,
        children: [{
            path: 'bill_create',
            name: 'bill_create',
            component: bill_create,
            meta: {
                keepAlive: false,
                title: '保单录入',
                des: '保单录入'
            }
        }, ]
    },
    car_search: {
        path: '/car',
        component: layout,
        children: [{
                path: 'car_search',
                name: 'car_search',
                component: car_search,
                meta: {
                    keepAlive: false,
                    title: '车险保单列表',
                    des: '车险保单列表'
                }
            },
            {
                path: 'car_detail/:id',
                name: 'car_detail',
                component: car_detail,
                meta: {
                    keepAlive: false,
                    title: '车险保单详情',
                    des: '车险保单详情'
                }
            },

            // {
            //     path:'bill_create',
            //     name:'bill_create',
            //     component:bill_create,
            //     meta:{
            //         keepAlive: false,
            //         title: '保单录入',
            //         des: '保单录入'
            //     }
            // },
            // {
            //     path:'bill_update/:coustomer_mid/:agent_mid/:contractNo',
            //     // path:'bill_update',
            //     name:'bill_update',
            //     component:bill_update,
            //     meta:{
            //         keepAlive: false,
            //         title: '保单查看',
            //         des: '保单查看'
            //     }
            // }
        ]
    },
    car_offer: {
        path: '/car',
        component: layout,
        children: [{
                path: 'offer',
                name: 'car_offer',
                component: car_offer,
                meta: {
                    keepAlive: true,
                    title: '车险出单',
                    des: '车险出单'
                }
            },
            {
                path: 'info',
                name: 'car_info',
                component: car_info,
                meta: {
                    keepAlive: false,
                    title: '车辆信息',
                    des: '这是车辆信息页面'
                }
            },
            {
                path: 'offerDetail',
                name: 'offer_detail',
                component: offer_detail,
                meta: {
                    keepAlive: false,
                    title: '车辆报价',
                    des: '这是车辆报价详情页面'
                }
            },
            {
                path: 'send',
                name: 'send_info',
                component: send_info,
                meta: {
                    keepAlive: false,
                    title: '配送信息',
                    des: '这是配送信息页面'
                }
            },
            {
                path: 'confirm',
                name: 'car_confirm',
                component: car_confirm,
                meta: {
                    keepAlive: false,
                    title: '投保确认',
                    des: '这是投保确认页面'
                }
            },
            {
                path: 'finish/:bizID/:key',
                name: 'car_finish',
                component: car_finish,
                meta: {
                    keepAlive: false,
                    title: '投保结果',
                    des: '这是投保结果页面'
                }
            },
            {
                path: 'order/:bizID',
                name: 'car_order',
                component: car_order,
                meta: {
                    keepAlive: false,
                    title: '订单详情',
                    des: '这是投保订单详情页面'
                }
            },   
            {
                path: 'orderList',
                name: 'car_order_list',
                component: car_order_list,
                meta: {
                    keepAlive: false,
                    title: '订单列表',
                    des: '这是订单列表页面'
                }
            },
        ]

    }
}
//提现管理页面
export const withdraw = {
    withdraw_list: {
        path: '/withdraw',
        component: layout,
        children: [{
            path: 'list',
            name: 'withdraw_list',
            component: withdraw_list,
            meta: {
                keepAlive: false,
                title: '提现管理',
                des: '这是提现管理页面'
            },
        }, ]
    }
}

//基本法路由
export const law = {
    law_official_list: {
        path: '/basiclaw',
        component: layout,
        children: [{
            path: 'basicLaw_lists',
            name: 'basicLaw_lists',
            component: basicLaw_lists,
            meta: {
                keepAlive: true,
                title: '员工转正',
                des: '欢迎来到员工转正列表'
            },
        }, ]
    },
    law_check_list: {
        path: '/basiclaw',
        component: layout,
        children: [{
            path: 'dataUpdate',
            name: 'dataUpdate',
            component: data_update,
            meta: {
                keepAlive: false,
                title: '员工考核列表',
                des: '这是员工考核列表页面'
            },
        }, ]
    },
    law_list: {
        path: '/basiclaw',
        component: layout,
        children: [{
            path: 'list',
            name: 'basicLaw_list',
            component: basicLaw_list,
            meta: {
                keepAlive: true,
                title: '考核列表',
                des: '这是考核列表页面'
            },
        }, ]
    },
    law_check: {
        path: '/basiclaw',
        component: layout,
        children: [{
            path: 'index',
            name: 'basicLaw_check',
            component: basicLaw_check,
            meta: {
                title: '考核设置',
                des: '考核设置',
                keepAlive: false,
            }
        }, ]
    },
    law_promote: {
        path: '/basiclaw',
        component: layout,
        children: [{
            path: 'promote',
            name: 'basicLaw_promote',
            component: basicLaw_promote,
            meta: {
                keepAlive: true,
                title: '晋升管理',
                des: '这是晋升管理页面'
            },
        }, ]
    },
    law_data_update: {
        path: '/update',
        component: layout,
        children: [{
            path: 'data',
            name: 'update_data',
            component: update_data,
            meta: {
                title: '数据更新',
                des: '数据更新',
                keepAlive: false,
            }
        }, ]
    },
    law_exam: {
        path: '/law_exam',
        component: layout,
        children: [{
            path: 'exam_project',
            name: 'basicLaw_exam',
            component: basicLaw_exam,
            meta: {
                title: '考核项目',
                des: '考核项目',
                keepAlive: false,
            }
        }, ]
    },
    basic_rank:{
        path: '/basic',
        component: layout,
        children: [{
            path: 'basic_rank',
            name: 'basic_rank',
            component: basic_rank,
            meta: {
                title: '职级管理',
                des: '这是职级管理页面',
                keepAlive: false,
            }
        }],
    },
    rulelist:{
        path: '/basic',
        component: layout,
        children: [
            {
                path: 'rulelist',
                name: 'rulelist',
                component: rulelist,
                meta: {
                    title: '规则列表',
                    des: '欢迎来到规则列表页面',
                    keepAlive: false,
                }
            },
            {
                path: 'prize/:tempalteId',
                name: 'prize',
                component: prize,
                meta: {
                    keepAlice: false,
                    title: '中级平台奖',
                    des: '欢迎来到中级平台奖设置页面'
                }
            },
            // 职级奖修改
            {
                path: 'prize/:tempalteId/:id',
                name: 'prizeupdate',
                component: prizeupdate,
                meta: {
                    keepAlice: false,
                    title: '中级平台奖',
                    des: '欢迎来到中级平台奖设置页面'
                }
            },
            {
                path: 'renewal/:tempalteId',
                name: 'renewal',
                component: renewal,
                meta: {
                    keepAlice: false,
                    title: '责任底薪',
                    des: '欢迎来到责任底薪页面'
                }
            },
            // 责任底薪修改
            {
                path: 'renewal/:tempalteId/:id',
                name: 'renewalupdate',
                component: renewalupdate,
                meta: {
                    keepAlice: false,
                    title: '责任底薪',
                    des: '欢迎来到责任底薪页面'
                }
            },
            {
                path: 'basic_bred/:tempalteId',
                name: 'basic_bred',
                component: basic_bred,
                meta: {
                    keepAlice: false,
                    title: '育成奖',
                    des: '欢迎来到育成奖页面'
                }
            },
            // 育成奖修改
            {
                path: 'basic_bred/:tempalteId/:id',
                name: 'basic_bredupdate',
                component: basic_bredupdate,
                meta: {
                    keepAlice: false,
                    title: '育成奖',
                    des: '欢迎来到育成奖页面'
                }
            },
            {
                path: 'growth/:tempalteId',
                name: 'growth',
                component: growth,
                meta: {
                    keepAlice: false,
                    title: '成长津贴',
                    des: '欢迎来到成长津贴页面'
                }
            },
            // 成长津贴  修改
            {
                path: 'growth/:tempalteId/:id',
                name: 'growthupdate',
                component: growthupdate,
                meta: {
                    keepAlice: false,
                    title: '成长津贴',
                    des: '欢迎来到成长津贴页面'
                }
            },
            {
                path: 'share_money/:tempalteId',
                name: 'share_money',
                component: share_money,
                meta: {
                    keepAlice: false,
                    title: '分红奖',
                    des: '欢迎来到分红奖页面'
                }
            },
            //  分红奖  修改
            {
                path: 'share_money/:tempalteId/:id',
                name: 'share_moneyupdate',
                component: share_moneyupdate,
                meta: {
                    keepAlice: false,
                    title: '分红奖',
                    des: '欢迎来到分红奖页面'
                }
            },
            {
                path: 'award/:tempalteId',
                name: 'award',
                component: award,
                meta: {
                    keepAlice: false,
                    title: '销售奖',
                    des: '欢迎来到销售奖页面'
                }
            },
            // 销售奖修改
            {
                path: 'award/:tempalteId/:id',
                name: 'awardupdate',
                component: awardupdate,
                meta: {
                    keepAlice: false,
                    title: '销售奖',
                    des: '欢迎来到销售奖页面'
                }
            },
            {
                path: 'increase/:tempalteId',
                name: 'increase',
                component: increase,
                meta: {
                    keepAlice: false,
                    title: '增部奖',
                    des: '欢迎来到增部奖页面'
                }
            },
            // 增部  修改
            {
                path: 'increase/:tempalteId/:id',
                name: 'increaseupdate',
                component: increaseupdate,
                meta: {
                    keepAlice: false,
                    title: '增部奖',
                    des: '欢迎来到增部奖页面'
                }
            },
            {
                path: 'basic_terrace/:tempalteId',
                name: 'basic_terrace',
                component: basic_terrace,
                meta: {
                    keepAlice: false,
                    title: '平台奖',
                    des: '欢迎来到平台奖页面'
                }
            },
            // 修改
            {
                path: 'basic_terrace/:tempalteId/:id',
                name: 'basic_terraceupdate',
                component: basic_terraceupdate,
                meta: {
                    keepAlice: false,
                    title: '平台奖',
                    des: '欢迎来到平台奖页面'
                }
            },
        ],
    },
    basic_check:{
        path: '/basic',
        component: layout,
        children: [{
            path: 'basic_check',
            name: 'basic_check',
            component: basic_check,
            meta: {
                title: '维持设置',
                des: '这是维持设置页面',
                keepAlive: false,
            }
        }],
    },
    basic_promotion:{
        path: '/basic',
        component: layout,
        children: [{
            path: 'basic_promotion',
            name: 'basic_promotion',
            component: basic_promotion,
            meta: {
                title: '晋升设置',
                des: '这是晋升设置页面',
                keepAlive: false,
            }
        }],
    },
    basic_exam_project:{
        path: '/basic',
        component: layout,
        children: [{
            path: 'basic_exam_project',
            name: 'basic_exam_project',
            component: basic_exam_project,
            meta: {
                title: '考核指标',
                des: '这是考核指标页面',
                keepAlive: false,
            }
        }],
    },
    basic_zhiji:{
        path: '/basic',
        component: layout,
        children: [{
            path: 'basic_zhiji',
            name: 'basic_zhiji',
            component: basic_zhiji,
            meta: {
                title: '职级薪资管理',
                des: '这是职级薪资管理页面',
                keepAlive: false,
            }
        }],
    },
    basic_salary:{
        path: '/basic',
        component: layout,
        children: [{
            path: 'basic_salary',
            name: 'basic_salary',
            component: basic_salary,
            meta: {
                title: '薪资计算管理',
                des: '这是薪资计算管理页面',
                keepAlive: false,
            }
        }],
    },
    basic_up:{
        path: '/basic',
        component: layout,
        children: [{
            path: 'basic_up',
            name: 'basic_up',
            component: basic_up,
            meta: {
                title: '晋升考核管理',
                des: '这是晋升考核管理页面',
                keepAlive: false,
            }
        }],
    },
}

export const permission_modal = {
    permission_list: {
        path: '/permission',
        component: layout,
        children: [{
                path: 'index',
                name: 'permission',
                component: permission,
                meta: {
                    keepAlive: false,
                    title: '策略组设置',
                    des: '这是策略组设置页面'
                },
            },
            {
                path: 'create',
                name: 'permission_create',
                component: permission_create,
                meta: {
                    keepAlive: false,
                    title: '权限设置',
                    des: '这是权限设置页面'
                },
            },
            {
                path: 'update/:id',
                name: 'permission_update',
                component: permission_update,
                meta: {
                    keepAlive: false,
                    title: '权限编辑',
                    des: '这是权限编辑页面'
                },
            }
        ]
    },
    org_account: {
        path: '/permission',
        component: layout,
        children: [{
            path: 'org',
            name: 'permission_org',
            component: permission_org,
            meta: {
                keepAlive: false,
                title: '机构账号',
                des: '欢迎使用机构账号列表页面'
            },
        }, ]
    },
    office_account: {
        path: '/permission',
        component: layout,
        children: [{
            path: 'employee',
            name: 'permission_employee',
            component: permission_employee,
            meta: {
                keepAlive: false,
                title: '员工账号',
                des: '欢迎使用员工账号列表页面'
            },
        }, ]
    }
}

//统计管理路由
export const statistics = {
    parter_premium: {
        path: '/statistics',
        component: layout,
        children: [{
            path: 'parter',
            name: 'parter_premium',
            component: statistics_parter,
            meta: {
                keepAlive: true,
                title: '供应商保费',
                des: '这是供应商保费页面'
            },
        }]
    },
    org_premium: {
        path: '/statistics',
        component: layout,
        children: [{
            path: 'org',
            name: 'org_premium',
            component: statistics_org,
            meta: {
                keepAlive: true,
                title: '机构保费',
                des: '这是机构保费页面'
            },
        }, ]
    }
}

//继续率报表
export const rate={
    path:'rate',
    component:layout,
    children:[
        {
            name:'person_rate',
            path:'person_rate',
            component:person_rate,
            meta: {
                keepAlive: false,
                title: '个人继续率',
                des: '这是个人继续率展示页面'
            },
        }
    ]
}
export const allRouter = {
    "partner": partner,
    "org": org,
    "employee": employee,
    "policy": policy,
    "settlement": settlement,
    "column": column,
    "compensate_modul": compensate_modul,
    "carousel": carousel,
    //"app":app,
    "invitation": invitation,
    "car": car,
    "withdraw": withdraw,
    "law": law,
    "permission": permission_modal,
    "statistics": statistics,
    "rate":rate
}

export const routers = [{
        path: '/',
        component: layout,
        redirect: {
            name: 'home'
        },
        children: [{
            path: 'index',
            name: 'home',
            component: index,
            meta: {
                title: '首页',
                keepAlive: false
            },
        }, ]
    },
    {
        path: '/login',
        name: 'login',
        component: login,
        meta: {
            title: '首页',
            keepAlive: false
        },
        children: [{
            path: ':id',
            name: 'loginchildren',
            component: login,
            meta: {
                title: '首页',
                keepAlive: false
            },
        }, ]
    },
    {
        path: '/update',
        component: layout,
        children: [{
            path: 'data',
            name: 'update_data',
            component: update_data,
            meta: {
                title: '数据更新',
                des: '数据更新',
                keepAlive: false,
            }
        }, ]
    },
    {
        path: '/basiclaw',
        component: layout,
        children: [{
                path: 'index',
                name: 'basicLaw_check',
                component: basicLaw_check,
                meta: {
                    title: '考核设置',
                    des: '考核设置',
                    keepAlive: false,
                }
            },
            {
                path: 'promote',
                name: 'basicLaw_promote',
                component: basicLaw_promote,
                meta: {
                    keepAlive: true,
                    title: '晋升管理',
                    des: '这是晋升管理页面'
                },
            },
            {
                path: 'list',
                name: 'basicLaw_list',
                component: basicLaw_list,
                meta: {
                    keepAlive: true,
                    title: '考核列表',
                    des: '这是考核列表页面'
                },
            },
            {
                path: 'basicLaw_lists',
                name: 'basicLaw_lists',
                component: basicLaw_lists,
                meta: {
                    keepAlive: true,
                    title: '员工转正',
                    des: '欢迎来到员工转正列表'
                },
            },
            {
                path: 'newlist',
                name: 'basicLaw_newlist',
                component: basicLaw_newlist,
                meta: {
                    keepAlive: true,
                    title: '考核保单更新',
                    des: '欢迎来到考核保单更新'
                },
            },
        ]
    },
    {
        path: '/car',
        component: layout,
        children: [{
                path: 'add',
                name: 'add',
                component: car_offer,
                meta: {
                    keepAlive: true,
                    title: '车险查询',
                    des: '这是车险查询页面'
                },
            },
            {
                path: 'list',
                name: 'list',
                component: car_list,
                meta: {
                    keepAlive: true,
                    title: '车险客户列表',
                    des: '这是车险客户列表页面'
                },
            },
            {
                path: 'replenish_info',
                name: 'replenish_info',
                component: replenish_info,
                meta: {
                    keepAlive: true,
                    title: '完善行驶证信息',
                    des: '这是完善行驶证信息页面'
                },
            },
            {
                path: 'quote/:id',
                name: 'quote',
                component: car_quote,
                meta: {
                    keepAlive: false,
                    title: '报价信息',
                    des: '完善报价信息'
                },
            },
            {
                path: 'quote_result/:id',
                name: 'quote_result',
                component: quote_result,
                meta: {
                    keepAlive: false,
                    title: '报价结果',
                    des: '报价结果'
                },
            },
            {
                path: 'terrace',
                name: 'terrace',
                component: terrace,
                meta: {
                    keepAlive: false,
                    title: '出单平台',
                    des: '出单平台'
                }
            },
            {
                path: 'bill_update/:coustomer_mid/:agent_mid/:contractNo',
                // path:'bill_update',
                name: 'bill_update',
                component: bill_update,
                meta: {
                    keepAlive: false,
                    title: '保单查看',
                    des: '保单查看'
                }
            },
            {
                path: 'bill_detail',
                name: 'bill_detail',
                component: bill_detail,
                meta: {
                    keepAlive: false,
                    title: '保单详情',
                    des: '保单详情'
                }
            },
            {
                path: 'bill_ceshi',
                name: 'bill_ceshi',
                component: bill_ceshi,
                meta: {
                    keepAlive: false,
                    title: '关系人信息',
                    des: '关系人信息修改测试'
                }
            },
            {
                path: 'bill_single',
                name: 'bill_single',
                component: bill_single,
                meta: {
                    keepAlive: false,
                    title: '车险出单平台',
                    des: '支持40多家平台一键登陆,点击图标即可进入各出单系统'
                }
            },
            {
                path: 'bill_create',
                name: 'bill_create',
                component: bill_create,
                meta: {
                    keepAlive: false,
                    title: '保单录入',
                    des: '保单录入'
                }
            },
            {
                path: 'bill_search',
                name: 'bill_search',
                component: bill_search,
                meta: {
                    keepAlive: false,
                    title: '保单查询',
                    des: '保单查询'
                }
            },
            {
                path: 'bill_per',
                name: 'bill_per',
                component: bill_per,
                meta: {
                    keepAlive: false,
                    title: '出单员/分支机构业绩报表',
                    des: '导出数据默认按出单数量倒序'
                }
            },
        ]
    },
    {
        path: '/pro',
        component: layout,
        children: [{
                path: 'index',
                name: 'pro',
                component: pro,
                meta: {
                    title: '产品列表',
                    des: '这是产品列表页面',
                    keepAlive: true,
                }
            },
            {
                path: 'cate_manage',
                name: 'cate_manage',
                meta: {
                    keepAlive: true,
                    title: '分类管理',
                    des: '这是分类管理页面'
                },
                component: cate_manage,
            },
            {
                // path: 'pro_show/:id',
                path: 'pro_show/:id',
                name: 'pro_show',
                meta: {
                    keepAlive: true,
                    title: '产品信息',
                    des: '这是产品信息展示页面'
                },
                component: pro_show,
            },
            {
                path: "detail/:id",
                component: pro_detail,
                name: 'detail',
                meta: {
                    keepAlive: true,
                    title: '产品编辑',
                    des: '这是产品编辑页面'
                },
            },
            {
                path: "update/:id",
                component: pro_update,
                name: 'pro_update',
                meta: {
                    keepAlive: false,
                    title: '产品编辑',
                    des: '这是产品编辑页面'
                },
            },
            {
                path: "create",
                component: pro_create,
                name: 'pro_create',
                meta: {
                    keepAlive: false,
                    title: '产品添加',
                    des: '这是产品添加页面'
                },
            },
            {
                path: "faq/:id/:name",
                component: pro_faq,
                name: 'pro_faq',
                meta: {
                    keepAlive: false,
                    title: '产品常见问题',
                    des: '这是产品常见问题列表页面'
                },
            },
            {
                path: "fee_create/:id/:name",
                component: fee_create,
                name: 'fee_create',
                meta: {
                    keepAlive: false,
                    title: '新增费用政策',
                    des: '这是新增费用政策页面'
                },
            },
            {
                path: "fee_update/:id",
                component: fee_update,
                name: 'fee_update',
                meta: {
                    keepAlive: false,
                    title: '修改费用政策',
                    des: '这是修改费用政策页面'
                },
            },
            {
                path: "fee/:id/:name",
                component: fee_manage,
                name: 'fee_manage',
                meta: {
                    keepAlive: false,
                    title: '费用政策列表',
                    des: '这是费用政策列表页面'
                },
            },

            {
                path: "create_clause",
                component: pro_addclause,
                name: 'pro_addclause',
                meta: {
                    keepAlive: false,
                    title: '条款编辑',
                    des: '这是条款编辑页面'
                },
            },
            {
                path: "clause_list",
                component: clause_list,
                name: 'clause_list',
                meta: {
                    keepAlive: true,
                    title: '条款列表',
                    des: '这是条款列表页面'
                },
            },
            {
                path: "update_clause/:id",
                component: pro_clause,
                name: 'pro_clause',
                meta: {
                    keepAlive: false,
                    title: '条款编辑',
                    des: '这是条款编辑页面'
                },
            },
            {
                path: "create_duty",
                component: pro_addduty,
                name: 'pro_addduty',
                meta: {
                    keepAlive: false,
                    title: '保险责任编辑',
                    des: '这是保险责任编辑页面'
                },
            },
            {
                path: "duty_list/:id/:name",
                component: duty_list,
                name: 'duty_list',
                meta: {
                    keepAlive: true,
                    title: '保险责任列表页面',
                    des: '这是保险责任列表页面'
                },
            },
            {
                path: "update_duty/:id",
                component: pro_duty,
                name: 'pro_duty',
                meta: {
                    keepAlive: false,
                    title: '保险责任编辑',
                    des: '这是保险责任编辑页面'
                },
            },
            {
                path: "agency_list/:id/:name",
                component: agency_list,
                name: 'agency_list',
                meta: {
                    keepAlive: false,
                    title: '代理协议列表',
                    des: '这是代理协议列表页面'
                },
            },
            {
                path: "agency_create/:id/:name",
                component: agency_create,
                name: 'agency_create',
                meta: {
                    keepAlive: false,
                    title: '代理协议新增',
                    des: '这是代理协议新增页面'
                },
            },
            {
                path: "agency_update/:id/:name/:agency_id",
                component: agency_update,
                name: 'agency_update',
                meta: {
                    keepAlive: false,
                    title: '代理协议修改',
                    des: '这是代理协议修改页面'
                },
            }

        ]
    },
    {
        path: '/agreement',
        component: layout,
        children: [{
                path: "index",
                component: agreement_manage,
                name: 'agreement_manage',
                meta: {
                    keepAlive: false,
                    title: '代理协议管理',
                    des: '这是代理协议管理页面'
                },
            },
            {
                path: "create",
                component: agreement_create,
                name: 'agreement_create',
                meta: {
                    keepAlive: false,
                    title: '新增代理协议',
                    des: '这是新增代理协议页面'
                },
            },
            {
                path: "update/:id",
                component: agreement_update,
                name: 'agreement_update',
                meta: {
                    keepAlive: false,
                    title: '修改代理协议',
                    des: '这是代理协议修改页面'
                },
            },
        ]
    },
    // {
    //     path: '/fee',
    //     component: layout,
    //     children: [
    //         {
    //             path: "fee_manage",
    //             component: fee_manage,
    //             name: 'fee_manage',
    //             meta: {
    //                 keepAlive: false,
    //                 title: '佣金管理',
    //                 des: '这是佣金管理页面'
    //             },
    //         },
    //         {
    //             path: "fee_create",
    //             component: fee_create,
    //             name: 'fee_create',
    //             meta: {
    //                 keepAlive: false,
    //                 title: '新增佣金',
    //                 des: '这是佣金添加页面'
    //             },
    //         },
    //         {
    //             path: "fee_update/:id",
    //             component: fee_update,
    //             name: 'fee_update',
    //             meta: {
    //                 keepAlive: false,
    //                 title: '修改佣金',
    //                 des: '这是佣金修改页面'
    //             },
    //         },
    //     ]
    // },
    {
        path: '/com_manage',
        component: layout,
        children: [{
                path: 'index',
                name: 'com_manage',
                component: com_manage,
                meta: {
                    keepAlive: false,
                    title: '供应商一览表',
                    des: 'Insurance Supplier List'
                },
            },
            {
                path: 'edit',
                name: 'com_edit',
                component: com_edit,
                meta: {
                    keepAlive: false,
                    title: '供应商管理',
                    des: '这是供应商管理页面'
                },
            },
            {
                path: 'edit2/:id',
                name: 'com_edit2',
                component: com_edit2,
                meta: {
                    keepAlive: false,
                    title: '供应商管理',
                    des: '这是供应商管理页面'
                },
            },
            {
                path: 'com_proClass',
                name: 'com_proClass',
                component: com_proClass,
                meta: {
                    keepAlive: true,
                    title: '供应商产品分类',
                    des: '这是供应商产品分类页面'
                }
            },
            {
                path: 'com_proedit/:id',
                name: 'com_proedit',
                component: com_proedit,
                meta: {
                    keepAlive: true,
                    title: '供应商产品分类编辑',
                    des: '这是供应商产品分类编辑页面'
                }
            }
        ]
    },
    {
        path: '/me',
        component: layout,
        children: [{
                path: 'index',
                name: 'setting',
                component: setting,
                meta: {
                    keepAlive: true,
                    title: '账户设置',
                    des: '这是账户设置页面'
                },
            },
            {
                path: 'change_pwd',
                name: 'change_pwd',
                component: change_pwd,
                meta: {
                    keepAlive: true,
                    title: '修改密码',
                    des: '这是修改密码页面'
                },
            },
        ]
    },
    // {
    //     path: '/policy',
    //     component: layout,
    //     children: [
    //         {
    //             path: 'insure_policy',
    //             name: 'insure_policy',
    //             component: policy_list,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '投保单列表',
    //                 des: '这是投保单列表页面'
    //             },
    //         },
    //         {
    //             path: 'create',
    //             name: 'insure_policy_create',
    //             component: insure_policy_create,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '投保单录入',
    //                 des: '这是投保单录入页面'
    //             },
    //         },
    //         {
    //             path: 'detail/:id',
    //             name: 'insure_policy_detail',
    //             component: insure_policy_detail,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '投保单详情',
    //                 des: '这是投保单详情页面'
    //             },
    //         },
    //         {
    //             path: 'update/:id',
    //             name: 'insure_policy_update',
    //             component: insure_policy_update,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '投保单编辑',
    //                 des: '这是投保单编辑页面'
    //             },
    //         },
    //         {
    //             path: 'uw_create',
    //             name: 'underwrite_policy_create',
    //             component: underwrite_policy_create,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '保单录入',
    //                 des: '这是保单录入页面'
    //             },
    //         },
    //         {
    //             path: 'uw_list',
    //             name: 'underwrite_policy',
    //             component: underwrite_policy,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '保单列表',
    //                 des: '这是保单列表页面'
    //             },
    //         },
    //         {
    //             path: 'uw_update/:id',
    //             name: 'underwrite_policy_update',
    //             component: underwrite_policy_update,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '保单编辑',
    //                 des: '这是保单编辑页面'
    //             },
    //         },
    //         {                
    //             path: 're_list',
    //             name: 'renewal_list',
    //             component: renewal_list,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '续期管理',
    //                 des: '这是续期管理页面'
    //             }
    //         }             
    //     ]
    // },
    // {
    //     path: '/employee',
    //     component: layout,
    //     children: [
    //         {
    //             path: 'create',
    //             name: 'employee_create',
    //             component: employee_create,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '新增员工',
    //                 des: '这是新增员工页面'
    //             },
    //         },
    //         {
    //             path: 'dataUpdate',
    //             name: 'dataUpdate',
    //             component: data_update,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '员工考核列表',
    //                 des: '这是员工考核列表页面'
    //             },
    //         },
    //         {
    //             path: 'list',
    //             name: 'employee_list',
    //             component: employee_list,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '在职员工',
    //                 des: '这是员工列表页面'
    //             },
    //         },
    //         {
    //             path: 'alllist',
    //             name: 'employee_all_list',
    //             component: employee_all_list,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '员工列表',
    //                 des: '这是员工列表页面'
    //             },
    //         },
    //         {
    //             path: 'update/:id',
    //             name: 'employee_update',
    //             component: employee_update,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '员工编辑',
    //                 des: '这是员工编辑页面'
    //             },
    //         },
    //         {
    //             path: 'employee_single',
    //             name: 'employee_single',
    //             component: employee_single,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '员工编辑',
    //                 des: '欢迎来到员工编辑页面'
    //             },
    //         }
    //     ]
    // },
    {
        path: '/role',
        component: layout,
        children: [{
            path: 'list',
            name: 'role_list',
            component: role_list,
            meta: {
                keepAlive: false,
                title: '角色管理',
                des: '这是角色管理页面'
            },
        }, ]
    },
    {
        path: '/rank',
        component: layout,
        children: [{
            path: 'list',
            name: 'rank_list',
            component: rank_list,
            meta: {
                keepAlive: false,
                title: '职级管理',
                des: '这是职级管理页面'
            },
        }, ]
    },
    {
        path: '/dept',
        component: layout,
        children: [{
            path: 'list',
            name: 'dept_list',
            component: dept_list,
            meta: {
                keepAlive: false,
                title: '部门管理',
                des: '这是部门管理页面'
            },
        }, ]
    },
    {
        path: '/customer',
        component: layout,
        children: [{
                path: 'index',
                name: 'customer_list',
                component: customer_list,
                meta: {
                    keepAlive: false,
                    title: '客户列表',
                    des: '这是我的客户列表页面'
                },
            },
            {
                path: 'customer_test',
                name: 'customer_test',
                component: customer_test,
                meta: {
                    keepAlive: false,
                    title: '客户列表',
                    des: '这是我的客户列表页面'
                },
            },
            {
                path: 'customer_create',
                name: 'customer_create',
                component: customer_create,
                meta: {
                    keepAlive: false,
                    title: '新增客户',
                    des: '这是新增客户页面'
                },
            },
            {
                path: 'customer_update/:id',
                name: 'customer_update',
                component: customer_update,
                meta: {
                    keepAlive: false,
                    title: '编辑客户资料',
                    des: '这是编辑客户页面'
                },
            },

        ]
    },
    // {
    //     path: '/policyb',
    //     component: layout,
    //     children: [
    //         {
    //             path: 'index',
    //             name: 'policyb_list',
    //             component: policyb_list,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '投保单列表',
    //                 des: '这是投保单列表页面'
    //             },
    //         },
    //         {
    //             path: 'create',
    //             name: 'policyb_create',
    //             component: policyb_create,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '投保单录入',
    //                 des: '这是投保单录入页面'
    //             },
    //         },
    //         {
    //             path: 'edit/:id',
    //             name: 'policyb_edit',
    //             component: policyb_edit,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '保单编辑',
    //                 des: '这是我的保单编辑页面'
    //             },
    //         },
    //         {
    //             path: 'list',
    //             name: 'policyb_relist',
    //             component: policyb_relist,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '保单列表',
    //                 des: '这是保单列表页面'
    //             },
    //         },
    //         {
    //             path: 'detail/:id',
    //             name: 'policyb_detail',
    //             component: policyb_detail,
    //             meta: {
    //                 keepAlive: false,
    //                 title: '保单详情',
    //                 des: '这是保单详情页面'
    //             },
    //         },
    //     ]
    // },
    {
        path: '/plan',
        component: layout,
        children: [{
                path: 'index',
                name: 'plan_list',
                component: plan_list,
                meta: {
                    keepAlive: false,
                    title: '计划书列表',
                    des: '这是我的计划书列表页面'
                },
            },
            {
                path: 'edit/:id',
                name: 'plan_edit',
                component: plan_edit,
                meta: {
                    keepAlive: false,
                    title: '计划书编辑',
                    des: '这是我的计划书编辑页面'
                },
            },
        ]
    },
    {
        path: '/finance',
        component: layout,
        children: [{
                path: 'payroll',
                name: 'finance_payroll',
                component: finance_payroll,
                meta: {
                    keepAlive: false,
                    title: '工资单',
                    des: '这是我的工资单页面'
                },
            },
            {
                path: 'finance_detail',
                name: 'finance_detail',
                component: finance_detail,
                meta: {
                    keepAlive: false,
                    title: '工资详情',
                    des: '这是我的工资详情'
                },
            },
            {
                path: 'payroll_detail/:id',
                name: 'payroll_detail',
                component: payroll_detail,
                meta: {
                    keepAlive: false,
                    title: '工资详情',
                    des: '这是工资详情'
                },
            },
            {
                path: 'poundage',
                name: 'poundage',
                component: poundage,
                meta: {
                    keepAlive: false,
                    title: '手续费',
                    des: '这是手续费详情'
                },
            },
            {
                path: 'poundage_fee',
                name: 'poundage_fee',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '手续费佣金',
                    des: '这是手续费佣金详情'
                },
            },
            {
                path: 'poundage_bonus',
                name: 'poundage_bonus',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '手续费奖金',
                    des: '这是手续费奖金详情'
                },
            },
            {
                path: 'poundage_bonusset',
                name: 'poundage_bonusset',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '奖金设置',
                    des: '这是手续费奖金设置'
                },
            },
            {
                path: 'poundage_report',
                name: 'poundage_report',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '手续费报表',
                    des: '这是手续费报表'
                },
            },
            {
                path: 'clearing_reissue',
                name: 'clearing_reissue',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '结算补发',
                    des: '这是结算补发页面'
                },
            },
            {
                path: 'clearing_deduct',
                name: 'clearing_deduct',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '结算扣除',
                    des: '这是结算扣除页面'
                },
            },
            {
                path: 'clearing_tax',
                name: 'clearing_tax',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '结算税务',
                    des: '这是结算税务页面'
                },
            },
            {
                path: 'bonus',
                name: 'bonus',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '奖金设置',
                    des: '这是奖金设置页面'
                },
            },
        ]
    },
    {
        path: '/withdraw',
        component: layout,
        children: [{
            path: 'list',
            name: 'withdraw_list',
            component: withdraw_list,
            meta: {
                keepAlive: false,
                title: '提现管理',
                des: '这是提现管理页面'
            },
        }, ]
    },
    {
        path: '/settlement',
        component: layout,
        children: [{
                path: 'salary_list',
                name: 'salary_list',
                component: salary_list,
                meta: {
                    keepAlive: false,
                    title: '结算工资',
                    des: '这是结算工资页面'
                },
            },
            {
                path: 'settlement_info',
                name: 'settlement_info',
                component: settlement_info,
                meta: {
                    keepAlive: false,
                    title: '结算信息',
                    des: '这是结算信息'
                },
            },
            {
                path: 'commission_list',
                name: 'commission_list',
                component: commission_list,
                meta: {
                    keepAlive: false,
                    title: '结算佣金',
                    des: '这是结算佣金页面'
                },
            },
            {
                path: 'bonus',
                name: 'settlement_bonus',
                component: settlement_bonus,
                meta: {
                    keepAlive: false,
                    title: '结算奖金',
                    des: '这是结算奖金页面'
                },
            },
            {
                path: 'update',
                name: 'settlement_update',
                component: settlement_update,
                meta: {
                    keepAlive: false,
                    title: '结算更新',
                    des: '这是结算更新页面'
                },
            },

        ]
    },
    {
        path: '/achievement',
        component: layout,
        children: [{
                path: 'index',
                name: 'achievement_index',
                component: achievement_index,
                meta: {
                    keepAlive: false,
                    title: '业绩管理',
                    des: '这是业绩管理页面'
                },
            },
            {
                path: 'create',
                name: 'achievement_create',
                component: achievement_create,
                meta: {
                    keepAlive: false,
                    title: '新增业绩',
                    des: '这是新增业绩页面'
                },
            },
            {
                path: 'update/:id',
                name: 'achievement_update',
                component: achievement_update,
                meta: {
                    keepAlive: false,
                    title: '编辑业绩',
                    des: '这是编辑业绩页面'
                },
            },
        ]
    },
    {
        path: '/org',
        component: layout,
        children: [{
                path: 'list',
                name: 'org_list',
                component: org_list,
                meta: {
                    keepAlive: false,
                    title: '机构管理',
                    des: '这是机构管理页面'
                },
            },
            {
                path: 'role',
                name: 'org_role',
                component: org_role,
                meta: {
                    keepAlive: false,
                    title: '机构角色管理',
                    des: '这是机构角色管理页面'
                },
            },
            {
                path: 'edit/:id',
                name: 'org_detail',
                component: org_detail,
                meta: {
                    keepAlive: false,
                    title: '机构详情',
                    des: '这是机构详情页面'
                },
            },
            {
                path: 'member',
                name: 'org_member',
                component: org_member,
                meta: {
                    keepAlive: false,
                    title: '机构成员',
                    des: '这是机构成员页面'
                },
            },
            {
                path: 'doclist',
                name: 'org_doclist',
                component: org_doclist,
                meta: {
                    keepAlive: false,
                    title: '机构管理',
                    des: '欢迎您使用机构管理页面'
                },
            },
            {
                path: 'newdoclist',
                name: 'org_newdoclist',
                component: org_newdoclist,
                meta: {
                    keepAlive: false,
                    title: '机构管理',
                    des: '欢迎您使用新增机构页面'
                }
            },
            {
                path: 'doclistdetail/:mongo_id',
                name: 'org_doclistdetail',
                component: org_doclistdetail,
                meta: {
                    keepAlive: false,
                    title: '机构详情',
                    des: '这是机构详情展示页面'
                },
            },
            // {
            //     path: 'setup',
            //     name: 'org_setup',
            //     component: org_setup,
            //     meta: {
            //         keepAlive: false,
            //         title: '机构账号',
            //         des: '欢迎来您使用机构账号列表页面'
            //     },
            // },
        ]
    },
    {
        path: '/classroom',
        component: layout,
        children: [{
                path: 'index',
                name: 'classroom',
                component: classroom,
                meta: {
                    keepAlive: false,
                    title: '栏目列表管理',
                    des: '这是栏目列表管理页面'
                },
            },
            {
                path: 'class_list_create',
                component: class_list_create,
                name: 'class_list_create',
                meta: {
                    keepAlive: false,
                    title: '新增栏目列表',
                    des: '这是新增栏目列表页面'
                }
            },
            {
                path: 'class_list_update/:id',
                component: class_list_update,
                name: 'class_list_update',
                meta: {
                    keepAlive: false,
                    title: '修改栏目列表',
                    des: '这是修改栏目列表页面'
                }
            },
            {
                name: 'class_list',
                component: class_list,
                path: 'class_list',
                meta: {
                    title: '栏目分类',
                    des: '这是栏目分类列表',
                    keepAlice: true
                }
            },
            // {
            //     name: 'class_create',
            //     component: class_create,
            //     path: 'class_create',
            //     meta: {
            //         keepAlice: false,
            //         title: '栏目分类新增',
            //         des: '这是栏目分类列表新增',
            //     }
            // },
            // {
            //     name: 'class_update',
            //     component: class_update,
            //     path: 'class_update/:id',
            //     meta: {
            //         title: '栏目分类更改',
            //         des: '这是栏目分类列表更改',
            //         keepAlice: false
            //     }
            // }
        ]
    },
    {
        path: '/carousel',
        component: layout,
        children: [{
                path: 'index',
                name: 'carousel_list',
                component: carousel_list,
                meta: {
                    keepAlive: true,
                    title: '轮播管理',
                    des: '这是轮播管理页面'
                },
            },
            // {
            //     path: 'carousel_create',
            //     name: 'carousel_create',
            //     component: carousel_create,
            //     meta: {
            //         keepAlive: false,
            //         title: '添加轮播图片',
            //         des: '这是添加轮播图片页面'
            //     },
            // },
            // {
            //     path: 'carousel_update/:id',
            //     name: 'carousel_update',
            //     component: carousel_update,
            //     meta: {
            //         keepAlive: false,
            //         title: '添加轮播图片',
            //         des: '这是添加轮播图片页面'
            //     },
            // },
        ]
    },
    {
        path: '/invitation',
        component: layout,
        children: [{
            path: 'index',
            name: 'invitation_list',
            component: invitation_list,
            meta: {
                keepAlive: false,
                title: '认证码列表',
                des: '这是认证码列表页面'
            },
        }, ]
    },
    {
        path: '/compensate',
        component: layout,
        children: [{
                name: 'compensate',
                component: compensate,
                path: 'index',
                meta: {
                    title: '理赔管理',
                    des: '理赔管理',
                    keepAlive: false,
                }
            },
            {
                name: 'compensate_create',
                component: compensate_create,
                path: 'compensate_create',
                meta: {
                    title: '理赔增加',
                    des: '理赔增加',
                    keepAlive: false,
                }
            },
            {
                name: 'compensate_update',
                component: compensate_update,
                path: 'compensate_update/:id',
                meta: {
                    title: '理赔修改',
                    des: '理赔修改',
                    keepAlive: false,
                }
            },
            {
                name: 'compensate_class',
                component: compensate_class,
                path: 'compensate_class',
                meta: {
                    title: '理赔分类',
                    des: '理赔分类',
                    keepAlive: true,
                }
            },
            // {
            //     name: 'compensate_class_create',
            //     component: compensate_class_create,
            //     path: 'compensate_class_create',
            //     meta: {
            //         title: '理赔分类新增',
            //         des: '理赔分类新增',
            //         keepAlive: false,
            //     }
            // },
            // {
            //     name: 'compensate_class_update',
            //     component: compensate_class_update,
            //     path: 'compensate_class_update/:id',
            //     meta: {
            //         title: '理赔分类新增',
            //         des: '理赔分类新增',
            //         keepAlive: false,
            //     }
            // },
            {
                path: 'link_compen',
                name: 'link_compen',
                component: link_compen,
                meta: {
                    title: '连接理赔',
                    des: '连接理赔',
                    keepAlive: true,
                }
            },
            {
                path: 'link_create',
                name: 'link_create',
                component: link_create,
                meta: {
                    title: '连接理赔新增',
                    des: '连接理赔新增页面',
                    keepAlive: false,
                }
            },
            {
                path: 'link_update/:id',
                name: 'link_update',
                component: link_update,
                meta: {
                    title: '连接理赔修改',
                    des: '连接理赔修改页面',
                    keepAlive: false,
                }
            },
            {
                path: 'link_team',
                name: 'link_team',
                component: link_team,
                meta: {
                    title: '理赔工具',
                    des: '理赔工具页面',
                    keepAlive: false,
                }
            }
        ]
    },
    // {
    //     path:"/app",
    //     component:layout,
    //     children:[
    //         {
    //             path:'index',
    //             name:'app_list',
    //             component:app_home,
    //             meta:{
    //                 title: 'App首页',
    //                 des: 'App首页管理',
    //                 keepAlive: true,
    //             }
    //         },
    //         {
    //             path:'app_add/:position',
    //             name:'app_add',
    //             component:app_add,
    //             meta:{
    //                 title: 'App添加',
    //                 des: 'App添加管理',
    //                 keepAlive: false,
    //             }
    //         },
    //         {
    //             path:'app_update/:position/:id',
    //             name:'app_update',
    //             component:app_update,
    //             meta:{
    //                 title: 'App修改',
    //                 des: 'App修改管理',
    //                 keepAlive: false,
    //             }
    //         },
    //     ]
    // }
];
// export default routers;